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.ObjectBuilder forSharingAllowlistListResponse.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(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 SharingAllowlistListResponsebuild()Builds an instance ofSharingAllowlistListResponseconfigured with this builder's valuesSharingAllowlistListResponse.BuilderwithCursor(java.lang.String cursor)Set value for optional field.SharingAllowlistListResponse.BuilderwithHasMore(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 tofalsewhen set tonull.- Returns:
- this builder
-
build
public SharingAllowlistListResponse build()
Builds an instance ofSharingAllowlistListResponseconfigured with this builder's values- Returns:
- new instance of
SharingAllowlistListResponse
-
-