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.ObjectBuilder forSharedContentChangeLinkExpiryDetails.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.DatenewValueprotected java.util.DatepreviousValue
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedContentChangeLinkExpiryDetailsbuild()Builds an instance ofSharedContentChangeLinkExpiryDetailsconfigured with this builder's valuesSharedContentChangeLinkExpiryDetails.BuilderwithNewValue(java.util.Date newValue)Set value for optional field.SharedContentChangeLinkExpiryDetails.BuilderwithPreviousValue(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 ofSharedContentChangeLinkExpiryDetailsconfigured with this builder's values- Returns:
- new instance of
SharedContentChangeLinkExpiryDetails
-
-