@Generated(value="software.amazon.awssdk:codegen") public final class Session extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Session.Builder,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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer duration()
public String id()
public String startTimestamp()
public String stopTimestamp()
public Session.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Session.Builder,Session>
public static Session.Builder builder()
public static Class<? extends Session.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.