Package com.dropbox.core.v2.teamlog
Class SharedLinkShareDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedLinkShareDetails.Builder
-
- Enclosing class:
- SharedLinkShareDetails
public static class SharedLinkShareDetails.Builder extends java.lang.Object
Builder forSharedLinkShareDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ExternalUserLogInfo>
externalUsers
protected UserLogInfo
sharedLinkOwner
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedLinkShareDetails
build()
Builds an instance ofSharedLinkShareDetails
configured with this builder's valuesSharedLinkShareDetails.Builder
withExternalUsers(java.util.List<ExternalUserLogInfo> externalUsers)
Set value for optional field.SharedLinkShareDetails.Builder
withSharedLinkOwner(UserLogInfo sharedLinkOwner)
Set value for optional field.
-
-
-
Field Detail
-
sharedLinkOwner
protected UserLogInfo sharedLinkOwner
-
externalUsers
protected java.util.List<ExternalUserLogInfo> externalUsers
-
-
Method Detail
-
withSharedLinkOwner
public SharedLinkShareDetails.Builder withSharedLinkOwner(UserLogInfo sharedLinkOwner)
Set value for optional field.- Parameters:
sharedLinkOwner
- Shared link owner details. Might be missing due to historical data gap.- Returns:
- this builder
-
withExternalUsers
public SharedLinkShareDetails.Builder withExternalUsers(java.util.List<ExternalUserLogInfo> externalUsers)
Set value for optional field.- Parameters:
externalUsers
- Users without a Dropbox account that were added as shared link audience. Must not contain anull
item.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
build
public SharedLinkShareDetails build()
Builds an instance ofSharedLinkShareDetails
configured with this builder's values- Returns:
- new instance of
SharedLinkShareDetails
-
-