Package com.dropbox.core.v2.teamlog
Class LegacyDeviceSessionLogInfo.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Builder
-
- com.dropbox.core.v2.teamlog.LegacyDeviceSessionLogInfo.Builder
-
- Enclosing class:
- LegacyDeviceSessionLogInfo
public static class LegacyDeviceSessionLogInfo.Builder extends DeviceSessionLogInfo.Builder
Builder forLegacyDeviceSessionLogInfo
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
clientVersion
protected java.lang.String
deviceType
protected java.lang.String
displayName
protected java.lang.Boolean
isEmmManaged
protected java.lang.String
legacyUniqId
protected java.lang.String
macAddress
protected java.lang.String
osVersion
protected java.lang.String
platform
protected SessionLogInfo
sessionInfo
-
Fields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Builder
created, ipAddress, updated
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegacyDeviceSessionLogInfo
build()
Builds an instance ofLegacyDeviceSessionLogInfo
configured with this builder's valuesLegacyDeviceSessionLogInfo.Builder
withClientVersion(java.lang.String clientVersion)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withCreated(java.util.Date created)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withDeviceType(java.lang.String deviceType)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withDisplayName(java.lang.String displayName)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withIpAddress(java.lang.String ipAddress)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withIsEmmManaged(java.lang.Boolean isEmmManaged)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withLegacyUniqId(java.lang.String legacyUniqId)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withMacAddress(java.lang.String macAddress)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withOsVersion(java.lang.String osVersion)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withPlatform(java.lang.String platform)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withSessionInfo(SessionLogInfo sessionInfo)
Set value for optional field.LegacyDeviceSessionLogInfo.Builder
withUpdated(java.util.Date updated)
Set value for optional field.
-
-
-
Field Detail
-
sessionInfo
protected SessionLogInfo sessionInfo
-
displayName
protected java.lang.String displayName
-
isEmmManaged
protected java.lang.Boolean isEmmManaged
-
platform
protected java.lang.String platform
-
macAddress
protected java.lang.String macAddress
-
osVersion
protected java.lang.String osVersion
-
deviceType
protected java.lang.String deviceType
-
clientVersion
protected java.lang.String clientVersion
-
legacyUniqId
protected java.lang.String legacyUniqId
-
-
Method Detail
-
withSessionInfo
public LegacyDeviceSessionLogInfo.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 LegacyDeviceSessionLogInfo.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
-
withIsEmmManaged
public LegacyDeviceSessionLogInfo.Builder withIsEmmManaged(java.lang.Boolean isEmmManaged)
Set value for optional field.- Parameters:
isEmmManaged
- Is device managed by emm. Might be missing due to historical data gap.- Returns:
- this builder
-
withPlatform
public LegacyDeviceSessionLogInfo.Builder withPlatform(java.lang.String platform)
Set value for optional field.- Parameters:
platform
- Information on the hosting platform. Might be missing due to historical data gap.- Returns:
- this builder
-
withMacAddress
public LegacyDeviceSessionLogInfo.Builder withMacAddress(java.lang.String macAddress)
Set value for optional field.- Parameters:
macAddress
- The mac address of the last activity from this session. Might be missing due to historical data gap.- Returns:
- this builder
-
withOsVersion
public LegacyDeviceSessionLogInfo.Builder withOsVersion(java.lang.String osVersion)
Set value for optional field.- Parameters:
osVersion
- The hosting OS version. Might be missing due to historical data gap.- Returns:
- this builder
-
withDeviceType
public LegacyDeviceSessionLogInfo.Builder withDeviceType(java.lang.String deviceType)
Set value for optional field.- Parameters:
deviceType
- Information on the hosting device type. Might be missing due to historical data gap.- Returns:
- this builder
-
withClientVersion
public LegacyDeviceSessionLogInfo.Builder withClientVersion(java.lang.String clientVersion)
Set value for optional field.- Parameters:
clientVersion
- The Dropbox client version. Might be missing due to historical data gap.- Returns:
- this builder
-
withLegacyUniqId
public LegacyDeviceSessionLogInfo.Builder withLegacyUniqId(java.lang.String legacyUniqId)
Set value for optional field.- Parameters:
legacyUniqId
- Alternative unique device session id, instead of session id field. Might be missing due to historical data gap.- Returns:
- this builder
-
withIpAddress
public LegacyDeviceSessionLogInfo.Builder withIpAddress(java.lang.String ipAddress)
Set value for optional field.- Overrides:
withIpAddress
in classDeviceSessionLogInfo.Builder
- Parameters:
ipAddress
- The IP address of the last activity from this session. Might be missing due to historical data gap.- Returns:
- this builder
-
withCreated
public LegacyDeviceSessionLogInfo.Builder withCreated(java.util.Date created)
Set value for optional field.- Overrides:
withCreated
in classDeviceSessionLogInfo.Builder
- Parameters:
created
- The time this session was created. Might be missing due to historical data gap.- Returns:
- this builder
-
withUpdated
public LegacyDeviceSessionLogInfo.Builder withUpdated(java.util.Date updated)
Set value for optional field.- Overrides:
withUpdated
in classDeviceSessionLogInfo.Builder
- Parameters:
updated
- The time of the last activity from this session. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public LegacyDeviceSessionLogInfo build()
Builds an instance ofLegacyDeviceSessionLogInfo
configured with this builder's values- Overrides:
build
in classDeviceSessionLogInfo.Builder
- Returns:
- new instance of
LegacyDeviceSessionLogInfo
-
-