Package com.dropbox.core.v2.teamlog
Class DeviceSessionLogInfo.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Builder
-
- Direct Known Subclasses:
DesktopDeviceSessionLogInfo.Builder
,LegacyDeviceSessionLogInfo.Builder
,MobileDeviceSessionLogInfo.Builder
,WebDeviceSessionLogInfo.Builder
- Enclosing class:
- DeviceSessionLogInfo
public static class DeviceSessionLogInfo.Builder extends java.lang.Object
Builder forDeviceSessionLogInfo
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceSessionLogInfo
build()
Builds an instance ofDeviceSessionLogInfo
configured with this builder's valuesDeviceSessionLogInfo.Builder
withCreated(java.util.Date created)
Set value for optional field.DeviceSessionLogInfo.Builder
withIpAddress(java.lang.String ipAddress)
Set value for optional field.DeviceSessionLogInfo.Builder
withUpdated(java.util.Date updated)
Set value for optional field.
-
-
-
Method Detail
-
withIpAddress
public DeviceSessionLogInfo.Builder withIpAddress(java.lang.String ipAddress)
Set value for optional field.- 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 DeviceSessionLogInfo.Builder withCreated(java.util.Date created)
Set value for optional field.- Parameters:
created
- The time this session was created. Might be missing due to historical data gap.- Returns:
- this builder
-
withUpdated
public DeviceSessionLogInfo.Builder withUpdated(java.util.Date updated)
Set value for optional field.- Parameters:
updated
- The time of the last activity from this session. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public DeviceSessionLogInfo build()
Builds an instance ofDeviceSessionLogInfo
configured with this builder's values- Returns:
- new instance of
DeviceSessionLogInfo
-
-