public static interface UpdateApplicationRequest.Builder extends EmrServerlessRequest.Builder, SdkPojo, CopyableBuilder<UpdateApplicationRequest.Builder,UpdateApplicationRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateApplicationRequest.Builder |
applicationId(String applicationId)
The ID of the application to update.
|
UpdateApplicationRequest.Builder |
architecture(Architecture architecture)
The CPU architecture of an application.
|
UpdateApplicationRequest.Builder |
architecture(String architecture)
The CPU architecture of an application.
|
UpdateApplicationRequest.Builder |
autoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
default UpdateApplicationRequest.Builder |
autoStartConfiguration(Consumer<AutoStartConfig.Builder> autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
UpdateApplicationRequest.Builder |
autoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
default UpdateApplicationRequest.Builder |
autoStopConfiguration(Consumer<AutoStopConfig.Builder> autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
UpdateApplicationRequest.Builder |
clientToken(String clientToken)
The client idempotency token of the application to update.
|
default UpdateApplicationRequest.Builder |
imageConfiguration(Consumer<ImageConfigurationInput.Builder> imageConfiguration)
The image configuration to be used for all worker types.
|
UpdateApplicationRequest.Builder |
imageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration to be used for all worker types.
|
UpdateApplicationRequest.Builder |
initialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is updated.
|
default UpdateApplicationRequest.Builder |
maximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity)
The maximum capacity to allocate when the application is updated.
|
UpdateApplicationRequest.Builder |
maximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is updated.
|
default UpdateApplicationRequest.Builder |
networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
Sets the value of the NetworkConfiguration property for this object.
|
UpdateApplicationRequest.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration)
Sets the value of the NetworkConfiguration property for this object.
|
UpdateApplicationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateApplicationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateApplicationRequest.Builder |
releaseLabel(String releaseLabel)
The Amazon EMR release label for the application.
|
UpdateApplicationRequest.Builder |
workerTypeSpecifications(Map<String,WorkerTypeSpecificationInput> workerTypeSpecifications)
The key-value pairs that specify worker type to
WorkerTypeSpecificationInput. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateApplicationRequest.Builder applicationId(String applicationId)
The ID of the application to update.
applicationId - The ID of the application to update.UpdateApplicationRequest.Builder clientToken(String clientToken)
The client idempotency token of the application to update. Its value must be unique for each request.
clientToken - The client idempotency token of the application to update. Its value must be unique for each request.UpdateApplicationRequest.Builder initialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is updated.
initialCapacity - The capacity to initialize when the application is updated.UpdateApplicationRequest.Builder maximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.
maximumCapacity - The maximum capacity to allocate when the application is updated. This is cumulative across all
workers at any given point in time during the lifespan of the application. No new resources will be
created once any one of the defined limits is hit.default UpdateApplicationRequest.Builder maximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity)
The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.
This is a convenience method that creates an instance of theMaximumAllowedResources.Builder avoiding
the need to create one manually via MaximumAllowedResources.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to maximumCapacity(MaximumAllowedResources).
maximumCapacity - a consumer that will call methods on MaximumAllowedResources.BuildermaximumCapacity(MaximumAllowedResources)UpdateApplicationRequest.Builder autoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
autoStartConfiguration - The configuration for an application to automatically start on job submission.default UpdateApplicationRequest.Builder autoStartConfiguration(Consumer<AutoStartConfig.Builder> autoStartConfiguration)
The configuration for an application to automatically start on job submission.
This is a convenience method that creates an instance of theAutoStartConfig.Builder avoiding the
need to create one manually via AutoStartConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to autoStartConfiguration(AutoStartConfig).
autoStartConfiguration - a consumer that will call methods on AutoStartConfig.BuilderautoStartConfiguration(AutoStartConfig)UpdateApplicationRequest.Builder autoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
autoStopConfiguration - The configuration for an application to automatically stop after a certain amount of time being idle.default UpdateApplicationRequest.Builder autoStopConfiguration(Consumer<AutoStopConfig.Builder> autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
This is a convenience method that creates an instance of theAutoStopConfig.Builder avoiding the need
to create one manually via AutoStopConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to autoStopConfiguration(AutoStopConfig).
autoStopConfiguration - a consumer that will call methods on AutoStopConfig.BuilderautoStopConfiguration(AutoStopConfig)UpdateApplicationRequest.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration - The new value for the NetworkConfiguration property for this object.default UpdateApplicationRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
NetworkConfiguration.Builder avoiding
the need to create one manually via NetworkConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to networkConfiguration(NetworkConfiguration).
networkConfiguration - a consumer that will call methods on NetworkConfiguration.BuildernetworkConfiguration(NetworkConfiguration)UpdateApplicationRequest.Builder architecture(String architecture)
The CPU architecture of an application.
architecture - The CPU architecture of an application.Architecture,
ArchitectureUpdateApplicationRequest.Builder architecture(Architecture architecture)
The CPU architecture of an application.
architecture - The CPU architecture of an application.Architecture,
ArchitectureUpdateApplicationRequest.Builder imageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration for each worker type in WorkerTypeSpecificationInput.
imageConfiguration - The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration for each worker type in WorkerTypeSpecificationInput.default UpdateApplicationRequest.Builder imageConfiguration(Consumer<ImageConfigurationInput.Builder> imageConfiguration)
The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration for each worker type in WorkerTypeSpecificationInput.
ImageConfigurationInput.Builder avoiding
the need to create one manually via ImageConfigurationInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to imageConfiguration(ImageConfigurationInput).
imageConfiguration - a consumer that will call methods on ImageConfigurationInput.BuilderimageConfiguration(ImageConfigurationInput)UpdateApplicationRequest.Builder workerTypeSpecifications(Map<String,WorkerTypeSpecificationInput> workerTypeSpecifications)
The key-value pairs that specify worker type to WorkerTypeSpecificationInput. This parameter
must contain all valid worker types for a Spark or Hive application. Valid worker types include
Driver and Executor for Spark applications and HiveDriver and
TezTask for Hive applications. You can either set image details in this parameter for each
worker type, or in imageConfiguration for all worker types.
workerTypeSpecifications - The key-value pairs that specify worker type to WorkerTypeSpecificationInput. This
parameter must contain all valid worker types for a Spark or Hive application. Valid worker types
include Driver and Executor for Spark applications and
HiveDriver and TezTask for Hive applications. You can either set image
details in this parameter for each worker type, or in imageConfiguration for all worker
types.UpdateApplicationRequest.Builder releaseLabel(String releaseLabel)
The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.
releaseLabel - The Amazon EMR release label for the application. You can change the release label to use a different
release of Amazon EMR.UpdateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.