Class GetSessionActionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.deadline.model.DeadlineResponse
-
- software.amazon.awssdk.services.deadline.model.GetSessionActionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSessionActionResponse.Builder,GetSessionActionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetSessionActionResponse extends DeadlineResponse implements ToCopyableBuilder<GetSessionActionResponse.Builder,GetSessionActionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSessionActionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSessionActionResponse.Builderbuilder()SessionActionDefinitiondefinition()The session action definition.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()IntegerprocessExitCode()The exit code to exit the session.StringprogressMessage()The message that communicates the progress of the session action.FloatprogressPercent()The percentage completed for a session action.List<SdkField<?>>sdkFields()static Class<? extends GetSessionActionResponse.Builder>serializableBuilderClass()StringsessionActionId()The session action ID.StringsessionId()The session ID for the session action.InstantstartedAt()The date and time the resource started running.SessionActionStatusstatus()The status of the session action.StringstatusAsString()The status of the session action.GetSessionActionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantworkerUpdatedAt()The Linux timestamp of the date and time the session action was last updated.-
Methods inherited from class software.amazon.awssdk.services.deadline.model.DeadlineResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
definition
public final SessionActionDefinition definition()
The session action definition.
- Returns:
- The session action definition.
-
endedAt
public final Instant endedAt()
The date and time the resource ended running.
- Returns:
- The date and time the resource ended running.
-
processExitCode
public final Integer processExitCode()
The exit code to exit the session.
- Returns:
- The exit code to exit the session.
-
progressMessage
public final String progressMessage()
The message that communicates the progress of the session action.
- Returns:
- The message that communicates the progress of the session action.
-
progressPercent
public final Float progressPercent()
The percentage completed for a session action.
- Returns:
- The percentage completed for a session action.
-
sessionActionId
public final String sessionActionId()
The session action ID.
- Returns:
- The session action ID.
-
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.
-
status
public final SessionActionStatus status()
The status of the session action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSessionActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the session action.
- See Also:
SessionActionStatus
-
statusAsString
public final String statusAsString()
The status of the session action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSessionActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the session action.
- See Also:
SessionActionStatus
-
workerUpdatedAt
public final Instant workerUpdatedAt()
The Linux timestamp of the date and time the session action was last updated.
- Returns:
- The Linux timestamp of the date and time the session action was last updated.
-
toBuilder
public GetSessionActionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSessionActionResponse.Builder,GetSessionActionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetSessionActionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSessionActionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-