Interface UpdateVirtualClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateVirtualClusterRequest.Builder,,UpdateVirtualClusterRequest> EmrContainersRequest.Builder,SdkBuilder<UpdateVirtualClusterRequest.Builder,,UpdateVirtualClusterRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateVirtualClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.The ID of the virtual cluster to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.schedulerConfiguration(Consumer<SchedulerConfiguration.Builder> schedulerConfiguration) The scheduler configuration to apply to the virtual cluster.schedulerConfiguration(SchedulerConfiguration schedulerConfiguration) The scheduler configuration to apply to the virtual cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The ID of the virtual cluster to update.
- Parameters:
id- The ID of the virtual cluster to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulerConfiguration
UpdateVirtualClusterRequest.Builder schedulerConfiguration(SchedulerConfiguration schedulerConfiguration) The scheduler configuration to apply to the virtual cluster. The new configuration fully replaces the existing one. If you omit
maxInQueueJobRuns, the service removes the queue-depth limit. If you omitmaxConcurrentJobRuns, the service applies the default limit of 1,000 concurrent job runs.- Parameters:
schedulerConfiguration- The scheduler configuration to apply to the virtual cluster. The new configuration fully replaces the existing one. If you omitmaxInQueueJobRuns, the service removes the queue-depth limit. If you omitmaxConcurrentJobRuns, the service applies the default limit of 1,000 concurrent job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulerConfiguration
default UpdateVirtualClusterRequest.Builder schedulerConfiguration(Consumer<SchedulerConfiguration.Builder> schedulerConfiguration) The scheduler configuration to apply to the virtual cluster. The new configuration fully replaces the existing one. If you omit
This is a convenience method that creates an instance of themaxInQueueJobRuns, the service removes the queue-depth limit. If you omitmaxConcurrentJobRuns, the service applies the default limit of 1,000 concurrent job runs.SchedulerConfiguration.Builderavoiding the need to create one manually viaSchedulerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedulerConfiguration(SchedulerConfiguration).- Parameters:
schedulerConfiguration- a consumer that will call methods onSchedulerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateVirtualClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateVirtualClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-