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
Builder for
DeviceSessionLogInfo.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofDeviceSessionLogInfoconfigured with this builder's valueswithCreated(Date created) Set value for optional field.withIpAddress(String ipAddress) Set value for optional field.withUpdated(Date updated) Set value for optional field.
-
Field Details
-
ipAddress
-
created
-
updated
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withIpAddress
Set value for optional field.- Parameters:
ipAddress- The IP address of the last activity from this session.- Returns:
- this builder
-
withCreated
Set value for optional field.- Parameters:
created- The time this session was created.- Returns:
- this builder
-
withUpdated
Set value for optional field.- Parameters:
updated- The time of the last activity from this session.- Returns:
- this builder
-
build
Builds an instance ofDeviceSessionLogInfoconfigured with this builder's values- Returns:
- new instance of
DeviceSessionLogInfo
-