Package com.dropbox.core.v2.teamlog
Class DeviceApprovalsChangeMobilePolicyDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceApprovalsChangeMobilePolicyDetails.Builder
-
- Enclosing class:
- DeviceApprovalsChangeMobilePolicyDetails
public static class DeviceApprovalsChangeMobilePolicyDetails.Builder extends java.lang.Object
Builder forDeviceApprovalsChangeMobilePolicyDetails
.
-
-
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 DeviceApprovalsChangeMobilePolicyDetails
build()
Builds an instance ofDeviceApprovalsChangeMobilePolicyDetails
configured with this builder's valuesDeviceApprovalsChangeMobilePolicyDetails.Builder
withNewValue(DeviceApprovalsPolicy newValue)
Set value for optional field.DeviceApprovalsChangeMobilePolicyDetails.Builder
withPreviousValue(DeviceApprovalsPolicy previousValue)
Set value for optional field.
-
-
-
Field Detail
-
newValue
protected DeviceApprovalsPolicy newValue
-
previousValue
protected DeviceApprovalsPolicy previousValue
-
-
Method Detail
-
withNewValue
public DeviceApprovalsChangeMobilePolicyDetails.Builder withNewValue(DeviceApprovalsPolicy newValue)
Set value for optional field.- Parameters:
newValue
- New mobile device approvals policy. Might be missing due to historical data gap.- Returns:
- this builder
-
withPreviousValue
public DeviceApprovalsChangeMobilePolicyDetails.Builder withPreviousValue(DeviceApprovalsPolicy previousValue)
Set value for optional field.- Parameters:
previousValue
- Previous mobile device approvals policy. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public DeviceApprovalsChangeMobilePolicyDetails build()
Builds an instance ofDeviceApprovalsChangeMobilePolicyDetails
configured with this builder's values- Returns:
- new instance of
DeviceApprovalsChangeMobilePolicyDetails
-
-