Interface UpdateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> EmrServerlessRequest.Builder
,SdkBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The ID of the application to update.architecture
(String architecture) The CPU architecture of an application.architecture
(Architecture architecture) The CPU architecture of an application.default UpdateApplicationRequest.Builder
autoStartConfiguration
(Consumer<AutoStartConfig.Builder> autoStartConfiguration) The configuration for an application to automatically start on job submission.autoStartConfiguration
(AutoStartConfig autoStartConfiguration) The configuration for an application to automatically start on job submission.default UpdateApplicationRequest.Builder
autoStopConfiguration
(Consumer<AutoStopConfig.Builder> autoStopConfiguration) The configuration for an application to automatically stop after a certain amount of time being idle.autoStopConfiguration
(AutoStopConfig autoStopConfiguration) The configuration for an application to automatically stop after a certain amount of time being idle.clientToken
(String clientToken) The client idempotency token of the application to update.default UpdateApplicationRequest.Builder
identityCenterConfiguration
(Consumer<IdentityCenterConfigurationInput.Builder> identityCenterConfiguration) Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation.identityCenterConfiguration
(IdentityCenterConfigurationInput identityCenterConfiguration) Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation.default UpdateApplicationRequest.Builder
imageConfiguration
(Consumer<ImageConfigurationInput.Builder> imageConfiguration) The image configuration to be used for all worker types.imageConfiguration
(ImageConfigurationInput imageConfiguration) The image configuration to be used for all worker types.initialCapacity
(Map<String, InitialCapacityConfig> initialCapacity) The capacity to initialize when the application is updated.default UpdateApplicationRequest.Builder
interactiveConfiguration
(Consumer<InteractiveConfiguration.Builder> interactiveConfiguration) The interactive configuration object that contains new interactive use cases when the application is updated.interactiveConfiguration
(InteractiveConfiguration interactiveConfiguration) The interactive configuration object that contains new interactive use cases when the application is updated.default UpdateApplicationRequest.Builder
maximumCapacity
(Consumer<MaximumAllowedResources.Builder> maximumCapacity) The maximum capacity to allocate when the application is updated.maximumCapacity
(MaximumAllowedResources maximumCapacity) The maximum capacity to allocate when the application is updated.default UpdateApplicationRequest.Builder
monitoringConfiguration
(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) The configuration setting for monitoring.monitoringConfiguration
(MonitoringConfiguration monitoringConfiguration) The configuration setting for monitoring.default UpdateApplicationRequest.Builder
networkConfiguration
(Consumer<NetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object.networkConfiguration
(NetworkConfiguration networkConfiguration) Sets the value of the NetworkConfiguration property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.releaseLabel
(String releaseLabel) The Amazon EMR release label for the application.runtimeConfiguration
(Collection<Configuration> runtimeConfiguration) The Configuration specifications to use when updating an application.runtimeConfiguration
(Consumer<Configuration.Builder>... runtimeConfiguration) The Configuration specifications to use when updating an application.runtimeConfiguration
(Configuration... runtimeConfiguration) The Configuration specifications to use when updating an application.default UpdateApplicationRequest.Builder
schedulerConfiguration
(Consumer<SchedulerConfiguration.Builder> schedulerConfiguration) The scheduler configuration for batch and streaming jobs running on this application.schedulerConfiguration
(SchedulerConfiguration schedulerConfiguration) The scheduler configuration for batch and streaming jobs running on this application.workerTypeSpecifications
(Map<String, WorkerTypeSpecificationInput> workerTypeSpecifications) The key-value pairs that specify worker type toWorkerTypeSpecificationInput
.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.emrserverless.model.EmrServerlessRequest.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
-
applicationId
The ID of the application to update.
- Parameters:
applicationId
- The ID of the application to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The client idempotency token of the application to update. Its value must be unique for each request.
- Parameters:
clientToken
- The client idempotency token of the application to update. Its value must be unique for each request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialCapacity
The capacity to initialize when the application is updated.
- Parameters:
initialCapacity
- The capacity to initialize when the application is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumCapacity
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 viaMaximumAllowedResources.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaximumCapacity(MaximumAllowedResources)
.- Parameters:
maximumCapacity
- a consumer that will call methods onMaximumAllowedResources.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoStartConfiguration
The configuration for an application to automatically start on job submission.
- Parameters:
autoStartConfiguration
- The configuration for an application to automatically start on job submission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoStartConfiguration
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 viaAutoStartConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoStartConfiguration(AutoStartConfig)
.- Parameters:
autoStartConfiguration
- a consumer that will call methods onAutoStartConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoStopConfiguration
The configuration for an application to automatically stop after a certain amount of time being idle.
- Parameters:
autoStopConfiguration
- The configuration for an application to automatically stop after a certain amount of time being idle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoStopConfiguration
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 viaAutoStopConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoStopConfiguration(AutoStopConfig)
.- Parameters:
autoStopConfiguration
- a consumer that will call methods onAutoStopConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkConfiguration
Sets the value of the NetworkConfiguration property for this object.- Parameters:
networkConfiguration
- The new value for the NetworkConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default UpdateApplicationRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object. This is a convenience method that creates an instance of theNetworkConfiguration.Builder
avoiding the need to create one manually viaNetworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration)
.- Parameters:
networkConfiguration
- a consumer that will call methods onNetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
architecture
The CPU architecture of an application.
- Parameters:
architecture
- The CPU architecture of an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
architecture
The CPU architecture of an application.
- Parameters:
architecture
- The CPU architecture of an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageConfiguration
The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration
for each worker type inWorkerTypeSpecificationInput
.- Parameters:
imageConfiguration
- The image configuration to be used for all worker types. You can either set this parameter orimageConfiguration
for each worker type inWorkerTypeSpecificationInput
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageConfiguration
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
This is a convenience method that creates an instance of theimageConfiguration
for each worker type inWorkerTypeSpecificationInput
.ImageConfigurationInput.Builder
avoiding the need to create one manually viaImageConfigurationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageConfiguration(ImageConfigurationInput)
.- Parameters:
imageConfiguration
- a consumer that will call methods onImageConfigurationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workerTypeSpecifications
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 includeDriver
andExecutor
for Spark applications andHiveDriver
andTezTask
for Hive applications. You can either set image details in this parameter for each worker type, or inimageConfiguration
for all worker types.- Parameters:
workerTypeSpecifications
- The key-value pairs that specify worker type toWorkerTypeSpecificationInput
. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types includeDriver
andExecutor
for Spark applications andHiveDriver
andTezTask
for Hive applications. You can either set image details in this parameter for each worker type, or inimageConfiguration
for all worker types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactiveConfiguration
UpdateApplicationRequest.Builder interactiveConfiguration(InteractiveConfiguration interactiveConfiguration) The interactive configuration object that contains new interactive use cases when the application is updated.
- Parameters:
interactiveConfiguration
- The interactive configuration object that contains new interactive use cases when the application is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactiveConfiguration
default UpdateApplicationRequest.Builder interactiveConfiguration(Consumer<InteractiveConfiguration.Builder> interactiveConfiguration) The interactive configuration object that contains new interactive use cases when the application is updated.
This is a convenience method that creates an instance of theInteractiveConfiguration.Builder
avoiding the need to create one manually viaInteractiveConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointeractiveConfiguration(InteractiveConfiguration)
.- Parameters:
interactiveConfiguration
- a consumer that will call methods onInteractiveConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
releaseLabel
The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.
- Parameters:
releaseLabel
- The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfiguration
UpdateApplicationRequest.Builder runtimeConfiguration(Collection<Configuration> runtimeConfiguration) The Configuration specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.
- Parameters:
runtimeConfiguration
- The Configuration specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfiguration
The Configuration specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.
- Parameters:
runtimeConfiguration
- The Configuration specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfiguration
UpdateApplicationRequest.Builder runtimeConfiguration(Consumer<Configuration.Builder>... runtimeConfiguration) The Configuration specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.
This is a convenience method that creates an instance of theConfiguration.Builder
avoiding the need to create one manually viaConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeConfiguration(List<Configuration>)
.- Parameters:
runtimeConfiguration
- a consumer that will call methods onConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoringConfiguration
UpdateApplicationRequest.Builder monitoringConfiguration(MonitoringConfiguration monitoringConfiguration) The configuration setting for monitoring.
- Parameters:
monitoringConfiguration
- The configuration setting for monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringConfiguration
default UpdateApplicationRequest.Builder monitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) The configuration setting for monitoring.
This is a convenience method that creates an instance of theMonitoringConfiguration.Builder
avoiding the need to create one manually viaMonitoringConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringConfiguration(MonitoringConfiguration)
.- Parameters:
monitoringConfiguration
- a consumer that will call methods onMonitoringConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedulerConfiguration
UpdateApplicationRequest.Builder schedulerConfiguration(SchedulerConfiguration schedulerConfiguration) The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.
- Parameters:
schedulerConfiguration
- The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulerConfiguration
default UpdateApplicationRequest.Builder schedulerConfiguration(Consumer<SchedulerConfiguration.Builder> schedulerConfiguration) The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.
This is a convenience method that creates an instance of theSchedulerConfiguration.Builder
avoiding the need to create one manually viaSchedulerConfiguration.builder()
.When the
Consumer
completes,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:
-
identityCenterConfiguration
UpdateApplicationRequest.Builder identityCenterConfiguration(IdentityCenterConfigurationInput identityCenterConfiguration) Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation. When provided, this configuration determines how the application interacts with IAM Identity Center for user authentication and access control.
- Parameters:
identityCenterConfiguration
- Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation. When provided, this configuration determines how the application interacts with IAM Identity Center for user authentication and access control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityCenterConfiguration
default UpdateApplicationRequest.Builder identityCenterConfiguration(Consumer<IdentityCenterConfigurationInput.Builder> identityCenterConfiguration) Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation. When provided, this configuration determines how the application interacts with IAM Identity Center for user authentication and access control.
This is a convenience method that creates an instance of theIdentityCenterConfigurationInput.Builder
avoiding the need to create one manually viaIdentityCenterConfigurationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityCenterConfiguration(IdentityCenterConfigurationInput)
.- Parameters:
identityCenterConfiguration
- a consumer that will call methods onIdentityCenterConfigurationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateApplicationRequest.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
UpdateApplicationRequest.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.
-