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