Package com.dropbox.core.v2.teamlog
Class SharedLinkSettingsChangeExpirationDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedLinkSettingsChangeExpirationDetails.Builder
-
- Enclosing class:
- SharedLinkSettingsChangeExpirationDetails
public static class SharedLinkSettingsChangeExpirationDetails.Builder extends java.lang.ObjectBuilder forSharedLinkSettingsChangeExpirationDetails.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.DatenewValueprotected java.util.DatepreviousValueprotected AccessLevelsharedContentAccessLevelprotected java.lang.StringsharedContentLink
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(AccessLevel sharedContentAccessLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedLinkSettingsChangeExpirationDetailsbuild()Builds an instance ofSharedLinkSettingsChangeExpirationDetailsconfigured with this builder's valuesSharedLinkSettingsChangeExpirationDetails.BuilderwithNewValue(java.util.Date newValue)Set value for optional field.SharedLinkSettingsChangeExpirationDetails.BuilderwithPreviousValue(java.util.Date previousValue)Set value for optional field.SharedLinkSettingsChangeExpirationDetails.BuilderwithSharedContentLink(java.lang.String sharedContentLink)Set value for optional field.
-
-
-
Field Detail
-
sharedContentAccessLevel
protected final AccessLevel sharedContentAccessLevel
-
sharedContentLink
protected java.lang.String sharedContentLink
-
newValue
protected java.util.Date newValue
-
previousValue
protected java.util.Date previousValue
-
-
Constructor Detail
-
Builder
protected Builder(AccessLevel sharedContentAccessLevel)
-
-
Method Detail
-
withSharedContentLink
public SharedLinkSettingsChangeExpirationDetails.Builder withSharedContentLink(java.lang.String sharedContentLink)
Set value for optional field.- Parameters:
sharedContentLink- Shared content link.- Returns:
- this builder
-
withNewValue
public SharedLinkSettingsChangeExpirationDetails.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 SharedLinkSettingsChangeExpirationDetails.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 SharedLinkSettingsChangeExpirationDetails build()
Builds an instance ofSharedLinkSettingsChangeExpirationDetailsconfigured with this builder's values- Returns:
- new instance of
SharedLinkSettingsChangeExpirationDetails
-
-