Interface UpdateSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSessionRequest.Builder,
,UpdateSessionRequest> DeadlineRequest.Builder
,SdkBuilder<UpdateSessionRequest.Builder,
,UpdateSessionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSessionRequest
@Mutable
@NotThreadSafe
public static interface UpdateSessionRequest.Builder
extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<UpdateSessionRequest.Builder,UpdateSessionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The unique token which the server uses to recognize retries of the same request.The farm ID to update in the session.The job ID to update in the session.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The queue ID to update in the session.The session ID to update.targetLifecycleStatus
(String targetLifecycleStatus) The life cycle status to update in the session.targetLifecycleStatus
(SessionLifecycleTargetStatus targetLifecycleStatus) The life cycle status to update in the session.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
The unique token which the server uses to recognize retries of the same request.
- Parameters:
clientToken
- The unique token which the server uses to recognize retries of the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLifecycleStatus
The life cycle status to update in the session.
- Parameters:
targetLifecycleStatus
- The life cycle status to update in the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetLifecycleStatus
UpdateSessionRequest.Builder targetLifecycleStatus(SessionLifecycleTargetStatus targetLifecycleStatus) The life cycle status to update in the session.
- Parameters:
targetLifecycleStatus
- The life cycle status to update in the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
farmId
The farm ID to update in the session.
- Parameters:
farmId
- The farm ID to update in the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueId
The queue ID to update in the session.
- Parameters:
queueId
- The queue ID to update in the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The job ID to update in the session.
- Parameters:
jobId
- The job ID to update in the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The session ID to update.
- Parameters:
sessionId
- The session ID to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-