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