public static class SharedLinkChangeExpiryDetails.Builder
extends java.lang.Object
SharedLinkChangeExpiryDetails
.Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
newValue |
protected java.util.Date |
previousValue |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
SharedLinkChangeExpiryDetails |
build()
Builds an instance of
SharedLinkChangeExpiryDetails
configured with this builder's values |
SharedLinkChangeExpiryDetails.Builder |
withNewValue(java.util.Date newValue)
Set value for optional field.
|
SharedLinkChangeExpiryDetails.Builder |
withPreviousValue(java.util.Date previousValue)
Set value for optional field.
|
protected java.util.Date newValue
protected java.util.Date previousValue
public SharedLinkChangeExpiryDetails.Builder withNewValue(java.util.Date newValue)
newValue
- New shared link expiration date. Might be missing
due to historical data gap.public SharedLinkChangeExpiryDetails.Builder withPreviousValue(java.util.Date previousValue)
previousValue
- Previous shared link expiration date. Might be
missing due to historical data gap.public SharedLinkChangeExpiryDetails build()
SharedLinkChangeExpiryDetails
configured with this builder's valuesSharedLinkChangeExpiryDetails