Class UpdateSessionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.deadline.model.DeadlineRequest
-
- software.amazon.awssdk.services.deadline.model.UpdateSessionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateSessionRequest.Builder,UpdateSessionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateSessionRequest extends DeadlineRequest implements ToCopyableBuilder<UpdateSessionRequest.Builder,UpdateSessionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateSessionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateSessionRequest.Builderbuilder()StringclientToken()The unique token which the server uses to recognize retries of the same request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfarmId()The farm ID to update in the session.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The job ID to update in the session.StringqueueId()The queue ID to update in the session.List<SdkField<?>>sdkFields()static Class<? extends UpdateSessionRequest.Builder>serializableBuilderClass()StringsessionId()The session ID to update.SessionLifecycleTargetStatustargetLifecycleStatus()The life cycle status to update in the session.StringtargetLifecycleStatusAsString()The life cycle status to update in the session.UpdateSessionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
clientToken
public final String clientToken()
The unique token which the server uses to recognize retries of the same request.
- Returns:
- The unique token which the server uses to recognize retries of the same request.
-
farmId
public final String farmId()
The farm ID to update in the session.
- Returns:
- The farm ID to update in the session.
-
jobId
public final String jobId()
The job ID to update in the session.
- Returns:
- The job ID to update in the session.
-
queueId
public final String queueId()
The queue ID to update in the session.
- Returns:
- The queue ID to update in the session.
-
sessionId
public final String sessionId()
The session ID to update.
- Returns:
- The session ID to update.
-
targetLifecycleStatus
public final SessionLifecycleTargetStatus targetLifecycleStatus()
The life cycle status to update in 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 life cycle status to update in the session.
- See Also:
SessionLifecycleTargetStatus
-
targetLifecycleStatusAsString
public final String targetLifecycleStatusAsString()
The life cycle status to update in 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 life cycle status to update in the session.
- See Also:
SessionLifecycleTargetStatus
-
toBuilder
public UpdateSessionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateSessionRequest.Builder,UpdateSessionRequest>- Specified by:
toBuilderin classDeadlineRequest
-
builder
public static UpdateSessionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateSessionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-