Package com.dropbox.core.v2.teamlog
Class SmartSyncChangePolicyDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SmartSyncChangePolicyDetails.Builder
-
- Enclosing class:
- SmartSyncChangePolicyDetails
public static class SmartSyncChangePolicyDetails.Builder extends java.lang.Object
Builder forSmartSyncChangePolicyDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected SmartSyncPolicy
newValue
protected SmartSyncPolicy
previousValue
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmartSyncChangePolicyDetails
build()
Builds an instance ofSmartSyncChangePolicyDetails
configured with this builder's valuesSmartSyncChangePolicyDetails.Builder
withNewValue(SmartSyncPolicy newValue)
Set value for optional field.SmartSyncChangePolicyDetails.Builder
withPreviousValue(SmartSyncPolicy previousValue)
Set value for optional field.
-
-
-
Field Detail
-
newValue
protected SmartSyncPolicy newValue
-
previousValue
protected SmartSyncPolicy previousValue
-
-
Method Detail
-
withNewValue
public SmartSyncChangePolicyDetails.Builder withNewValue(SmartSyncPolicy newValue)
Set value for optional field.- Parameters:
newValue
- New smart sync policy.- Returns:
- this builder
-
withPreviousValue
public SmartSyncChangePolicyDetails.Builder withPreviousValue(SmartSyncPolicy previousValue)
Set value for optional field.- Parameters:
previousValue
- Previous smart sync policy.- Returns:
- this builder
-
build
public SmartSyncChangePolicyDetails build()
Builds an instance ofSmartSyncChangePolicyDetails
configured with this builder's values- Returns:
- new instance of
SmartSyncChangePolicyDetails
-
-