Package com.dropbox.core.v2.teamlog
Class DeviceApprovalsChangeDesktopPolicyDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceApprovalsChangeDesktopPolicyDetails.Builder
-
- Enclosing class:
- DeviceApprovalsChangeDesktopPolicyDetails
public static class DeviceApprovalsChangeDesktopPolicyDetails.Builder extends java.lang.Object
Builder forDeviceApprovalsChangeDesktopPolicyDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected DeviceApprovalsPolicy
newValue
protected DeviceApprovalsPolicy
previousValue
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceApprovalsChangeDesktopPolicyDetails
build()
Builds an instance ofDeviceApprovalsChangeDesktopPolicyDetails
configured with this builder's valuesDeviceApprovalsChangeDesktopPolicyDetails.Builder
withNewValue(DeviceApprovalsPolicy newValue)
Set value for optional field.DeviceApprovalsChangeDesktopPolicyDetails.Builder
withPreviousValue(DeviceApprovalsPolicy previousValue)
Set value for optional field.
-
-
-
Field Detail
-
newValue
protected DeviceApprovalsPolicy newValue
-
previousValue
protected DeviceApprovalsPolicy previousValue
-
-
Method Detail
-
withNewValue
public DeviceApprovalsChangeDesktopPolicyDetails.Builder withNewValue(DeviceApprovalsPolicy newValue)
Set value for optional field.- Parameters:
newValue
- New desktop device approvals policy. Might be missing due to historical data gap.- Returns:
- this builder
-
withPreviousValue
public DeviceApprovalsChangeDesktopPolicyDetails.Builder withPreviousValue(DeviceApprovalsPolicy previousValue)
Set value for optional field.- Parameters:
previousValue
- Previous desktop device approvals policy. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public DeviceApprovalsChangeDesktopPolicyDetails build()
Builds an instance ofDeviceApprovalsChangeDesktopPolicyDetails
configured with this builder's values- Returns:
- new instance of
DeviceApprovalsChangeDesktopPolicyDetails
-
-