Package com.dropbox.core.v2.teamlog
Class SharedContentChangeLinkExpiryDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedContentChangeLinkExpiryDetails.Builder
-
- Enclosing class:
- SharedContentChangeLinkExpiryDetails
public static class SharedContentChangeLinkExpiryDetails.Builder extends java.lang.Object
Builder forSharedContentChangeLinkExpiryDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
newValue
protected java.util.Date
previousValue
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedContentChangeLinkExpiryDetails
build()
Builds an instance ofSharedContentChangeLinkExpiryDetails
configured with this builder's valuesSharedContentChangeLinkExpiryDetails.Builder
withNewValue(java.util.Date newValue)
Set value for optional field.SharedContentChangeLinkExpiryDetails.Builder
withPreviousValue(java.util.Date previousValue)
Set value for optional field.
-
-
-
Method Detail
-
withNewValue
public SharedContentChangeLinkExpiryDetails.Builder withNewValue(java.util.Date newValue)
Set value for optional field.- Parameters:
newValue
- New shared content link expiration date. Might be missing due to historical data gap.- Returns:
- this builder
-
withPreviousValue
public SharedContentChangeLinkExpiryDetails.Builder withPreviousValue(java.util.Date previousValue)
Set value for optional field.- Parameters:
previousValue
- Previous shared content link expiration date. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public SharedContentChangeLinkExpiryDetails build()
Builds an instance ofSharedContentChangeLinkExpiryDetails
configured with this builder's values- Returns:
- new instance of
SharedContentChangeLinkExpiryDetails
-
-