Package com.dropbox.core.v2.teamlog
Class DeviceUnlinkDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceUnlinkDetails.Builder
-
- Enclosing class:
- DeviceUnlinkDetails
public static class DeviceUnlinkDetails.Builder extends java.lang.Object
Builder forDeviceUnlinkDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deleteData
protected java.lang.String
displayName
protected SessionLogInfo
sessionInfo
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(boolean deleteData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceUnlinkDetails
build()
Builds an instance ofDeviceUnlinkDetails
configured with this builder's valuesDeviceUnlinkDetails.Builder
withDisplayName(java.lang.String displayName)
Set value for optional field.DeviceUnlinkDetails.Builder
withSessionInfo(SessionLogInfo sessionInfo)
Set value for optional field.
-
-
-
Field Detail
-
deleteData
protected final boolean deleteData
-
sessionInfo
protected SessionLogInfo sessionInfo
-
displayName
protected java.lang.String displayName
-
-
Method Detail
-
withSessionInfo
public DeviceUnlinkDetails.Builder withSessionInfo(SessionLogInfo sessionInfo)
Set value for optional field.- Parameters:
sessionInfo
- Session unique id.- Returns:
- this builder
-
withDisplayName
public DeviceUnlinkDetails.Builder withDisplayName(java.lang.String displayName)
Set value for optional field.- Parameters:
displayName
- The device name. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public DeviceUnlinkDetails build()
Builds an instance ofDeviceUnlinkDetails
configured with this builder's values- Returns:
- new instance of
DeviceUnlinkDetails
-
-