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.ObjectBuilder forDeviceSessionLogInfo.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceSessionLogInfobuild()Builds an instance ofDeviceSessionLogInfoconfigured with this builder's valuesDeviceSessionLogInfo.BuilderwithCreated(java.util.Date created)Set value for optional field.DeviceSessionLogInfo.BuilderwithIpAddress(java.lang.String ipAddress)Set value for optional field.DeviceSessionLogInfo.BuilderwithUpdated(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.- 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.- 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.- Returns:
- this builder
-
build
public DeviceSessionLogInfo build()
Builds an instance ofDeviceSessionLogInfoconfigured with this builder's values- Returns:
- new instance of
DeviceSessionLogInfo
-
-