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.ObjectBuilder forSharedLinkChangeExpiryDetails.
-
-
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 SharedLinkChangeExpiryDetailsbuild()Builds an instance ofSharedLinkChangeExpiryDetailsconfigured with this builder's valuesSharedLinkChangeExpiryDetails.BuilderwithNewValue(java.util.Date newValue)Set value for optional field.SharedLinkChangeExpiryDetails.BuilderwithPreviousValue(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 ofSharedLinkChangeExpiryDetailsconfigured with this builder's values- Returns:
- new instance of
SharedLinkChangeExpiryDetails
-
-