@Generated(value="software.amazon.awssdk:codegen") public final class Session extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Session.Builder,Session>
Provides information about a session.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Session.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Session.Builder |
builder() |
Integer |
duration()
The duration of the session, in milliseconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the session.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Session.Builder> |
serializableBuilderClass() |
String |
startTimestamp()
The date and time when the session began.
|
String |
stopTimestamp()
The date and time when the session ended.
|
Session.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer duration()
The duration of the session, in milliseconds.
public String id()
The unique identifier for the session.
public String startTimestamp()
The date and time when the session began.
public String stopTimestamp()
The date and time when the session ended.
public Session.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Session.Builder,Session>public static Session.Builder builder()
public static Class<? extends Session.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.