Package com.dropbox.core.v2.team
Class SharingAllowlistListResponse.Builder
- java.lang.Object
-
- com.dropbox.core.v2.team.SharingAllowlistListResponse.Builder
-
- Enclosing class:
- SharingAllowlistListResponse
public static class SharingAllowlistListResponse.Builder extends java.lang.Object
Builder forSharingAllowlistListResponse
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(java.util.List<java.lang.String> domains, java.util.List<java.lang.String> emails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharingAllowlistListResponse
build()
Builds an instance ofSharingAllowlistListResponse
configured with this builder's valuesSharingAllowlistListResponse.Builder
withCursor(java.lang.String cursor)
Set value for optional field.SharingAllowlistListResponse.Builder
withHasMore(java.lang.Boolean hasMore)
Set value for optional field.
-
-
-
Method Detail
-
withCursor
public SharingAllowlistListResponse.Builder withCursor(java.lang.String cursor)
Set value for optional field.If left unset or set to
null
, defaults to""
.- Parameters:
cursor
- If this is nonempty, there are more entries that can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String)
. Must not benull
. Defaults to""
when set tonull
.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withHasMore
public SharingAllowlistListResponse.Builder withHasMore(java.lang.Boolean hasMore)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
hasMore
- if true indicates that more entries can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String)
. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
build
public SharingAllowlistListResponse build()
Builds an instance ofSharingAllowlistListResponse
configured with this builder's values- Returns:
- new instance of
SharingAllowlistListResponse
-
-