Class Session
java.lang.Object
software.amazon.awssdk.services.pinpoint.model.Session
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Session.Builder,Session>
@Generated("software.amazon.awssdk:codegen")
public final class Session
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<Session.Builder,Session>
Provides information about a session.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Session.Builderbuilder()final Integerduration()The duration of the session, in milliseconds.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The unique identifier for the session.static Class<? extends Session.Builder>final StringThe date and time when the session began.final StringThe date and time when the session ended.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
duration
The duration of the session, in milliseconds.
- Returns:
- The duration of the session, in milliseconds.
-
id
The unique identifier for the session.
- Returns:
- The unique identifier for the session.
-
startTimestamp
The date and time when the session began.
- Returns:
- The date and time when the session began.
-
stopTimestamp
The date and time when the session ended.
- Returns:
- The date and time when the session ended.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Session.Builder,Session>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-