Class GetSessionResponse
- 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.GetSessionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetSessionResponse extends DeadlineResponse implements ToCopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSessionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSessionResponse.Builderbuilder()InstantendedAt()The date and time the resource ended running.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetId()The fleet ID for the session.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HostPropertiesResponsehostProperties()Provides the Amazon EC2 properties of the host.SessionLifecycleStatuslifecycleStatus()The life cycle status of the session.StringlifecycleStatusAsString()The life cycle status of the session.LogConfigurationlog()The session log.List<SdkField<?>>sdkFields()static Class<? extends GetSessionResponse.Builder>serializableBuilderClass()StringsessionId()The session ID.InstantstartedAt()The date and time the resource started running.SessionLifecycleTargetStatustargetLifecycleStatus()The life cycle status with which the session started.StringtargetLifecycleStatusAsString()The life cycle status with which the session started.GetSessionResponse.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 for the session.LogConfigurationworkerLog()The worker log for the session.-
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
-
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 for the session.
- Returns:
- The fleet ID for the session.
-
hostProperties
public final HostPropertiesResponse hostProperties()
Provides the Amazon EC2 properties of the host.
- Returns:
- Provides the Amazon EC2 properties of the host.
-
lifecycleStatus
public final SessionLifecycleStatus lifecycleStatus()
The life cycle status of 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 of the session.
- See Also:
SessionLifecycleStatus
-
lifecycleStatusAsString
public final String lifecycleStatusAsString()
The life cycle status of 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 of the session.
- See Also:
SessionLifecycleStatus
-
log
public final LogConfiguration log()
The session log.
- Returns:
- The session log.
-
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 life cycle status with which the session started.
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 with which the session started.
- See Also:
SessionLifecycleTargetStatus
-
targetLifecycleStatusAsString
public final String targetLifecycleStatusAsString()
The life cycle status with which the session started.
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 with which the session started.
- 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 for the session.
- Returns:
- The worker ID for the session.
-
workerLog
public final LogConfiguration workerLog()
The worker log for the session.
- Returns:
- The worker log for the session.
-
toBuilder
public GetSessionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetSessionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSessionResponse.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
-
-