Interface UpdateQueueRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateQueueRequest.Builder,UpdateQueueRequest>,PcsRequest.Builder,SdkBuilder<UpdateQueueRequest.Builder,UpdateQueueRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateQueueRequest
public static interface UpdateQueueRequest.Builder extends PcsRequest.Builder, SdkPojo, CopyableBuilder<UpdateQueueRequest.Builder,UpdateQueueRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateQueueRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.UpdateQueueRequest.BuilderclusterIdentifier(String clusterIdentifier)The name or ID of the cluster of the queue.UpdateQueueRequest.BuildercomputeNodeGroupConfigurations(Collection<ComputeNodeGroupConfiguration> computeNodeGroupConfigurations)The list of compute node group configurations to associate with the queue.UpdateQueueRequest.BuildercomputeNodeGroupConfigurations(Consumer<ComputeNodeGroupConfiguration.Builder>... computeNodeGroupConfigurations)The list of compute node group configurations to associate with the queue.UpdateQueueRequest.BuildercomputeNodeGroupConfigurations(ComputeNodeGroupConfiguration... computeNodeGroupConfigurations)The list of compute node group configurations to associate with the queue.UpdateQueueRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateQueueRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateQueueRequest.BuilderqueueIdentifier(String queueIdentifier)The name or ID of the queue.-
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.pcs.model.PcsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clusterIdentifier
UpdateQueueRequest.Builder clusterIdentifier(String clusterIdentifier)
The name or ID of the cluster of the queue.
- Parameters:
clusterIdentifier- The name or ID of the cluster of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueIdentifier
UpdateQueueRequest.Builder queueIdentifier(String queueIdentifier)
The name or ID of the queue.
- Parameters:
queueIdentifier- The name or ID of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeNodeGroupConfigurations
UpdateQueueRequest.Builder computeNodeGroupConfigurations(Collection<ComputeNodeGroupConfiguration> computeNodeGroupConfigurations)
The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.
- Parameters:
computeNodeGroupConfigurations- The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeNodeGroupConfigurations
UpdateQueueRequest.Builder computeNodeGroupConfigurations(ComputeNodeGroupConfiguration... computeNodeGroupConfigurations)
The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.
- Parameters:
computeNodeGroupConfigurations- The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeNodeGroupConfigurations
UpdateQueueRequest.Builder computeNodeGroupConfigurations(Consumer<ComputeNodeGroupConfiguration.Builder>... computeNodeGroupConfigurations)
The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.
This is a convenience method that creates an instance of theComputeNodeGroupConfiguration.Builderavoiding the need to create one manually viaComputeNodeGroupConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#computeNodeGroupConfigurations(List.) - Parameters:
computeNodeGroupConfigurations- a consumer that will call methods onComputeNodeGroupConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#computeNodeGroupConfigurations(java.util.Collection)
-
clientToken
UpdateQueueRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateQueueRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-