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.ObjectBuilder forSmartSyncChangePolicyDetails.
-
-
Field Summary
Fields Modifier and Type Field Description protected SmartSyncPolicynewValueprotected SmartSyncPolicypreviousValue
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmartSyncChangePolicyDetailsbuild()Builds an instance ofSmartSyncChangePolicyDetailsconfigured with this builder's valuesSmartSyncChangePolicyDetails.BuilderwithNewValue(SmartSyncPolicy newValue)Set value for optional field.SmartSyncChangePolicyDetails.BuilderwithPreviousValue(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 ofSmartSyncChangePolicyDetailsconfigured with this builder's values- Returns:
- new instance of
SmartSyncChangePolicyDetails
-
-