Class SessionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.SessionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SessionSummary.Builder,SessionSummary>
@Generated("software.amazon.awssdk:codegen") public final class SessionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SessionSummary.Builder,SessionSummary>
The summary of a session.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSessionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionSummary.Builderbuilder()InstantendedAt()The date and time the resource ended running.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetId()The fleet ID.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SessionLifecycleStatuslifecycleStatus()The life cycle status for the session.StringlifecycleStatusAsString()The life cycle status for the session.List<SdkField<?>>sdkFields()static Class<? extends SessionSummary.Builder>serializableBuilderClass()StringsessionId()The session ID.InstantstartedAt()The date and time the resource started running.SessionLifecycleTargetStatustargetLifecycleStatus()The target life cycle status for the session.StringtargetLifecycleStatusAsString()The target life cycle status for the session.SessionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The date and time the resource was updated.StringupdatedBy()The user or system that updated this resource.StringworkerId()The worker ID.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endedAt
public final Instant endedAt()
The date and time the resource ended running.
- Returns:
- The date and time the resource ended running.
-
fleetId
public final String fleetId()
The fleet ID.
- Returns:
- The fleet ID.
-
lifecycleStatus
public final SessionLifecycleStatus lifecycleStatus()
The life cycle status for the session.
If the service returns an enum value that is not available in the current SDK version,
lifecycleStatuswill returnSessionLifecycleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlifecycleStatusAsString().- Returns:
- The life cycle status for the session.
- See Also:
SessionLifecycleStatus
-
lifecycleStatusAsString
public final String lifecycleStatusAsString()
The life cycle status for the session.
If the service returns an enum value that is not available in the current SDK version,
lifecycleStatuswill returnSessionLifecycleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlifecycleStatusAsString().- Returns:
- The life cycle status for the session.
- See Also:
SessionLifecycleStatus
-
sessionId
public final String sessionId()
The session ID.
- Returns:
- The session ID.
-
startedAt
public final Instant startedAt()
The date and time the resource started running.
- Returns:
- The date and time the resource started running.
-
targetLifecycleStatus
public final SessionLifecycleTargetStatus targetLifecycleStatus()
The target life cycle status for the session.
If the service returns an enum value that is not available in the current SDK version,
targetLifecycleStatuswill returnSessionLifecycleTargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetLifecycleStatusAsString().- Returns:
- The target life cycle status for the session.
- See Also:
SessionLifecycleTargetStatus
-
targetLifecycleStatusAsString
public final String targetLifecycleStatusAsString()
The target life cycle status for the session.
If the service returns an enum value that is not available in the current SDK version,
targetLifecycleStatuswill returnSessionLifecycleTargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetLifecycleStatusAsString().- Returns:
- The target life cycle status for the session.
- See Also:
SessionLifecycleTargetStatus
-
updatedAt
public final Instant updatedAt()
The date and time the resource was updated.
- Returns:
- The date and time the resource was updated.
-
updatedBy
public final String updatedBy()
The user or system that updated this resource.
- Returns:
- The user or system that updated this resource.
-
workerId
public final String workerId()
The worker ID.
- Returns:
- The worker ID.
-
toBuilder
public SessionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SessionSummary.Builder,SessionSummary>
-
builder
public static SessionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends SessionSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-