Package com.dropbox.core.v2.teamlog
Class DeviceDeleteOnUnlinkFailDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceDeleteOnUnlinkFailDetails.Builder
-
- Enclosing class:
- DeviceDeleteOnUnlinkFailDetails
public static class DeviceDeleteOnUnlinkFailDetails.Builder extends java.lang.Object
Builder forDeviceDeleteOnUnlinkFailDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
displayName
protected long
numFailures
protected SessionLogInfo
sessionInfo
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(long numFailures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceDeleteOnUnlinkFailDetails
build()
Builds an instance ofDeviceDeleteOnUnlinkFailDetails
configured with this builder's valuesDeviceDeleteOnUnlinkFailDetails.Builder
withDisplayName(java.lang.String displayName)
Set value for optional field.DeviceDeleteOnUnlinkFailDetails.Builder
withSessionInfo(SessionLogInfo sessionInfo)
Set value for optional field.
-
-
-
Field Detail
-
numFailures
protected final long numFailures
-
sessionInfo
protected SessionLogInfo sessionInfo
-
displayName
protected java.lang.String displayName
-
-
Method Detail
-
withSessionInfo
public DeviceDeleteOnUnlinkFailDetails.Builder withSessionInfo(SessionLogInfo sessionInfo)
Set value for optional field.- Parameters:
sessionInfo
- Session unique id. Might be missing due to historical data gap.- Returns:
- this builder
-
withDisplayName
public DeviceDeleteOnUnlinkFailDetails.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 DeviceDeleteOnUnlinkFailDetails build()
Builds an instance ofDeviceDeleteOnUnlinkFailDetails
configured with this builder's values- Returns:
- new instance of
DeviceDeleteOnUnlinkFailDetails
-
-