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.Object
Builder forSharedLinkSettingsChangeExpirationDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
newValue
protected java.util.Date
previousValue
protected AccessLevel
sharedContentAccessLevel
protected java.lang.String
sharedContentLink
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(AccessLevel sharedContentAccessLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedLinkSettingsChangeExpirationDetails
build()
Builds an instance ofSharedLinkSettingsChangeExpirationDetails
configured with this builder's valuesSharedLinkSettingsChangeExpirationDetails.Builder
withNewValue(java.util.Date newValue)
Set value for optional field.SharedLinkSettingsChangeExpirationDetails.Builder
withPreviousValue(java.util.Date previousValue)
Set value for optional field.SharedLinkSettingsChangeExpirationDetails.Builder
withSharedContentLink(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 ofSharedLinkSettingsChangeExpirationDetails
configured with this builder's values- Returns:
- new instance of
SharedLinkSettingsChangeExpirationDetails
-
-