public static class SharedLinkSettingsChangeAudienceDetails.Builder
extends java.lang.Object
SharedLinkSettingsChangeAudienceDetails
.Modifier and Type | Field and Description |
---|---|
protected LinkAudience |
newValue |
protected LinkAudience |
previousValue |
protected AccessLevel |
sharedContentAccessLevel |
protected java.lang.String |
sharedContentLink |
Modifier | Constructor and Description |
---|---|
protected |
Builder(AccessLevel sharedContentAccessLevel,
LinkAudience newValue) |
Modifier and Type | Method and Description |
---|---|
SharedLinkSettingsChangeAudienceDetails |
build()
Builds an instance of
SharedLinkSettingsChangeAudienceDetails
configured with this builder's values |
SharedLinkSettingsChangeAudienceDetails.Builder |
withPreviousValue(LinkAudience previousValue)
Set value for optional field.
|
SharedLinkSettingsChangeAudienceDetails.Builder |
withSharedContentLink(java.lang.String sharedContentLink)
Set value for optional field.
|
protected final AccessLevel sharedContentAccessLevel
protected final LinkAudience newValue
protected java.lang.String sharedContentLink
protected LinkAudience previousValue
protected Builder(AccessLevel sharedContentAccessLevel, LinkAudience newValue)
public SharedLinkSettingsChangeAudienceDetails.Builder withSharedContentLink(java.lang.String sharedContentLink)
sharedContentLink
- Shared content link.public SharedLinkSettingsChangeAudienceDetails.Builder withPreviousValue(LinkAudience previousValue)
previousValue
- Previous link audience value.public SharedLinkSettingsChangeAudienceDetails build()
SharedLinkSettingsChangeAudienceDetails
configured with this builder's valuesSharedLinkSettingsChangeAudienceDetails