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