public static class WebDeviceSessionLogInfo.Builder extends DeviceSessionLogInfo.Builder
WebDeviceSessionLogInfo
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
browser |
protected java.lang.String |
os |
protected WebSessionLogInfo |
sessionInfo |
protected java.lang.String |
userAgent |
created, ipAddress, updated
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.lang.String userAgent,
java.lang.String os,
java.lang.String browser) |
Modifier and Type | Method and Description |
---|---|
WebDeviceSessionLogInfo |
build()
Builds an instance of
WebDeviceSessionLogInfo configured with
this builder's values |
WebDeviceSessionLogInfo.Builder |
withCreated(java.util.Date created)
Set value for optional field.
|
WebDeviceSessionLogInfo.Builder |
withIpAddress(java.lang.String ipAddress)
Set value for optional field.
|
WebDeviceSessionLogInfo.Builder |
withSessionInfo(WebSessionLogInfo sessionInfo)
Set value for optional field.
|
WebDeviceSessionLogInfo.Builder |
withUpdated(java.util.Date updated)
Set value for optional field.
|
protected final java.lang.String userAgent
protected final java.lang.String os
protected final java.lang.String browser
protected WebSessionLogInfo sessionInfo
protected Builder(java.lang.String userAgent, java.lang.String os, java.lang.String browser)
public WebDeviceSessionLogInfo.Builder withSessionInfo(WebSessionLogInfo sessionInfo)
sessionInfo
- Web session unique id. Might be missing due to
historical data gap.public WebDeviceSessionLogInfo.Builder withIpAddress(java.lang.String ipAddress)
withIpAddress
in class DeviceSessionLogInfo.Builder
ipAddress
- The IP address of the last activity from this
session. Might be missing due to historical data gap.public WebDeviceSessionLogInfo.Builder withCreated(java.util.Date created)
withCreated
in class DeviceSessionLogInfo.Builder
created
- The time this session was created. Might be missing
due to historical data gap.public WebDeviceSessionLogInfo.Builder withUpdated(java.util.Date updated)
withUpdated
in class DeviceSessionLogInfo.Builder
updated
- The time of the last activity from this session.
Might be missing due to historical data gap.public WebDeviceSessionLogInfo build()
WebDeviceSessionLogInfo
configured with
this builder's valuesbuild
in class DeviceSessionLogInfo.Builder
WebDeviceSessionLogInfo