public static class SharedLinkSettingsAddExpirationDetails.Builder
extends java.lang.Object
SharedLinkSettingsAddExpirationDetails
.Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
newValue |
protected AccessLevel |
sharedContentAccessLevel |
protected java.lang.String |
sharedContentLink |
Modifier | Constructor and Description |
---|---|
protected |
Builder(AccessLevel sharedContentAccessLevel) |
Modifier and Type | Method and Description |
---|---|
SharedLinkSettingsAddExpirationDetails |
build()
Builds an instance of
SharedLinkSettingsAddExpirationDetails
configured with this builder's values |
SharedLinkSettingsAddExpirationDetails.Builder |
withNewValue(java.util.Date newValue)
Set value for optional field.
|
SharedLinkSettingsAddExpirationDetails.Builder |
withSharedContentLink(java.lang.String sharedContentLink)
Set value for optional field.
|
protected final AccessLevel sharedContentAccessLevel
protected java.lang.String sharedContentLink
protected java.util.Date newValue
protected Builder(AccessLevel sharedContentAccessLevel)
public SharedLinkSettingsAddExpirationDetails.Builder withSharedContentLink(java.lang.String sharedContentLink)
sharedContentLink
- Shared content link.public SharedLinkSettingsAddExpirationDetails.Builder withNewValue(java.util.Date newValue)
newValue
- New shared content link expiration date. Might be
missing due to historical data gap.public SharedLinkSettingsAddExpirationDetails build()
SharedLinkSettingsAddExpirationDetails
configured with this builder's valuesSharedLinkSettingsAddExpirationDetails