Class WorkerSessionSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkerSessionSummary.Builder,WorkerSessionSummary>
Summarizes the session for a particular worker.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkerSessionSummary.Builderbuilder()final InstantendedAt()The date and time the resource ended running.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringjobId()The job ID for the job associated with the worker's session.final SessionLifecycleStatusThe life cycle status for the worker's session.final StringThe life cycle status for the worker's session.final StringqueueId()The queue ID for the queue associated to the worker.static Class<? extends WorkerSessionSummary.Builder> final StringThe session ID for the session action.final InstantThe date and time the resource started running.The life cycle statusfinal StringThe life cycle statusTake this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sessionId
The session ID for the session action.
- Returns:
- The session ID for the session action.
-
queueId
The queue ID for the queue associated to the worker.
- Returns:
- The queue ID for the queue associated to the worker.
-
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.
-
startedAt
The date and time the resource started running.
- Returns:
- The date and time the resource started running.
-
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:
-
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:
-
endedAt
The date and time the resource ended running.
- Returns:
- The date and time the resource ended running.
-
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:
-
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:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkerSessionSummary.Builder,WorkerSessionSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-