public static class SharedLinkShareDetails.Builder
extends java.lang.Object
SharedLinkShareDetails
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<ExternalUserLogInfo> |
externalUsers |
protected UserLogInfo |
sharedLinkOwner |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
SharedLinkShareDetails |
build()
Builds an instance of
SharedLinkShareDetails configured with
this builder's values |
SharedLinkShareDetails.Builder |
withExternalUsers(java.util.List<ExternalUserLogInfo> externalUsers)
Set value for optional field.
|
SharedLinkShareDetails.Builder |
withSharedLinkOwner(UserLogInfo sharedLinkOwner)
Set value for optional field.
|
protected UserLogInfo sharedLinkOwner
protected java.util.List<ExternalUserLogInfo> externalUsers
public SharedLinkShareDetails.Builder withSharedLinkOwner(UserLogInfo sharedLinkOwner)
sharedLinkOwner
- Shared link owner details. Might be missing
due to historical data gap.public SharedLinkShareDetails.Builder withExternalUsers(java.util.List<ExternalUserLogInfo> externalUsers)
externalUsers
- Users without a Dropbox account that were added
as shared link audience. Must not contain a null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedLinkShareDetails build()
SharedLinkShareDetails
configured with
this builder's valuesSharedLinkShareDetails