Package com.dropbox.core.v2.teamlog
Class SharedLinkSettingsAddExpirationDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedLinkSettingsAddExpirationDetails.Builder
-
- Enclosing class:
- SharedLinkSettingsAddExpirationDetails
public static class SharedLinkSettingsAddExpirationDetails.Builder extends java.lang.Object
Builder forSharedLinkSettingsAddExpirationDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
newValue
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 SharedLinkSettingsAddExpirationDetails
build()
Builds an instance ofSharedLinkSettingsAddExpirationDetails
configured with this builder's valuesSharedLinkSettingsAddExpirationDetails.Builder
withNewValue(java.util.Date newValue)
Set value for optional field.SharedLinkSettingsAddExpirationDetails.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
-
-
Constructor Detail
-
Builder
protected Builder(AccessLevel sharedContentAccessLevel)
-
-
Method Detail
-
withSharedContentLink
public SharedLinkSettingsAddExpirationDetails.Builder withSharedContentLink(java.lang.String sharedContentLink)
Set value for optional field.- Parameters:
sharedContentLink
- Shared content link.- Returns:
- this builder
-
withNewValue
public SharedLinkSettingsAddExpirationDetails.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
-
build
public SharedLinkSettingsAddExpirationDetails build()
Builds an instance ofSharedLinkSettingsAddExpirationDetails
configured with this builder's values- Returns:
- new instance of
SharedLinkSettingsAddExpirationDetails
-
-