Package com.dropbox.core.v2.teamlog
Class SharedLinkSettingsChangeAudienceDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedLinkSettingsChangeAudienceDetails.Builder
-
- Enclosing class:
- SharedLinkSettingsChangeAudienceDetails
public static class SharedLinkSettingsChangeAudienceDetails.Builder extends java.lang.Object
Builder forSharedLinkSettingsChangeAudienceDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected LinkAudience
newValue
protected LinkAudience
previousValue
protected AccessLevel
sharedContentAccessLevel
protected java.lang.String
sharedContentLink
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(AccessLevel sharedContentAccessLevel, LinkAudience newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedLinkSettingsChangeAudienceDetails
build()
Builds an instance ofSharedLinkSettingsChangeAudienceDetails
configured with this builder's valuesSharedLinkSettingsChangeAudienceDetails.Builder
withPreviousValue(LinkAudience previousValue)
Set value for optional field.SharedLinkSettingsChangeAudienceDetails.Builder
withSharedContentLink(java.lang.String sharedContentLink)
Set value for optional field.
-
-
-
Field Detail
-
sharedContentAccessLevel
protected final AccessLevel sharedContentAccessLevel
-
newValue
protected final LinkAudience newValue
-
sharedContentLink
protected java.lang.String sharedContentLink
-
previousValue
protected LinkAudience previousValue
-
-
Constructor Detail
-
Builder
protected Builder(AccessLevel sharedContentAccessLevel, LinkAudience newValue)
-
-
Method Detail
-
withSharedContentLink
public SharedLinkSettingsChangeAudienceDetails.Builder withSharedContentLink(java.lang.String sharedContentLink)
Set value for optional field.- Parameters:
sharedContentLink
- Shared content link.- Returns:
- this builder
-
withPreviousValue
public SharedLinkSettingsChangeAudienceDetails.Builder withPreviousValue(LinkAudience previousValue)
Set value for optional field.- Parameters:
previousValue
- Previous link audience value.- Returns:
- this builder
-
build
public SharedLinkSettingsChangeAudienceDetails build()
Builds an instance ofSharedLinkSettingsChangeAudienceDetails
configured with this builder's values- Returns:
- new instance of
SharedLinkSettingsChangeAudienceDetails
-
-