Class WorkerSessionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.WorkerSessionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkerSessionSummary.Builder,WorkerSessionSummary>
@Generated("software.amazon.awssdk:codegen") public final class WorkerSessionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkerSessionSummary.Builder,WorkerSessionSummary>
Summarizes the session for a particular worker.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkerSessionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkerSessionSummary.Builderbuilder()InstantendedAt()The date and time the resource ended running.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The job ID for the job associated with the worker's session.SessionLifecycleStatuslifecycleStatus()The life cycle status for the worker's session.StringlifecycleStatusAsString()The life cycle status for the worker's session.StringqueueId()The queue ID for the queue associated to the worker.List<SdkField<?>>sdkFields()static Class<? extends WorkerSessionSummary.Builder>serializableBuilderClass()StringsessionId()The session ID for the session action.InstantstartedAt()The date and time the resource started running.SessionLifecycleTargetStatustargetLifecycleStatus()The life cycle statusStringtargetLifecycleStatusAsString()The life cycle statusWorkerSessionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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.
-
jobId
public final String jobId()
The job ID for the job associated with the worker's session.
- Returns:
- The job ID for the job associated with the worker's session.
-
lifecycleStatus
public final SessionLifecycleStatus lifecycleStatus()
The life cycle status for the worker's 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 worker's session.
- See Also:
SessionLifecycleStatus
-
lifecycleStatusAsString
public final String lifecycleStatusAsString()
The life cycle status for the worker's 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 worker's session.
- See Also:
SessionLifecycleStatus
-
queueId
public final String queueId()
The queue ID for the queue associated to the worker.
- Returns:
- The queue ID for the queue associated to the worker.
-
sessionId
public final String sessionId()
The session ID for the session action.
- Returns:
- The session ID for the session action.
-
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 life cycle status
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 life cycle status
- See Also:
SessionLifecycleTargetStatus
-
targetLifecycleStatusAsString
public final String targetLifecycleStatusAsString()
The life cycle status
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 life cycle status
- See Also:
SessionLifecycleTargetStatus
-
toBuilder
public WorkerSessionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkerSessionSummary.Builder,WorkerSessionSummary>
-
builder
public static WorkerSessionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkerSessionSummary.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.
-
-