Package com.dropbox.core.v2.teamlog
Class SharedLinkChangeExpiryDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedLinkChangeExpiryDetails.Builder
-
- Enclosing class:
- SharedLinkChangeExpiryDetails
public static class SharedLinkChangeExpiryDetails.Builder extends java.lang.Object
Builder forSharedLinkChangeExpiryDetails
.
-
-
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 SharedLinkChangeExpiryDetails
build()
Builds an instance ofSharedLinkChangeExpiryDetails
configured with this builder's valuesSharedLinkChangeExpiryDetails.Builder
withNewValue(java.util.Date newValue)
Set value for optional field.SharedLinkChangeExpiryDetails.Builder
withPreviousValue(java.util.Date previousValue)
Set value for optional field.
-
-
-
Method Detail
-
withNewValue
public SharedLinkChangeExpiryDetails.Builder withNewValue(java.util.Date newValue)
Set value for optional field.- Parameters:
newValue
- New shared link expiration date. Might be missing due to historical data gap.- Returns:
- this builder
-
withPreviousValue
public SharedLinkChangeExpiryDetails.Builder withPreviousValue(java.util.Date previousValue)
Set value for optional field.- Parameters:
previousValue
- Previous shared link expiration date. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public SharedLinkChangeExpiryDetails build()
Builds an instance ofSharedLinkChangeExpiryDetails
configured with this builder's values- Returns:
- new instance of
SharedLinkChangeExpiryDetails
-
-