public static interface CreateApplicationRequest.Builder extends EmrServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateApplicationRequest.Builder |
architecture(Architecture architecture)
The CPU architecture of an application.
|
CreateApplicationRequest.Builder |
architecture(String architecture)
The CPU architecture of an application.
|
CreateApplicationRequest.Builder |
autoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
default CreateApplicationRequest.Builder |
autoStartConfiguration(Consumer<AutoStartConfig.Builder> autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
CreateApplicationRequest.Builder |
autoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
default CreateApplicationRequest.Builder |
autoStopConfiguration(Consumer<AutoStopConfig.Builder> autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
CreateApplicationRequest.Builder |
clientToken(String clientToken)
The client idempotency token of the application to create.
|
default CreateApplicationRequest.Builder |
imageConfiguration(Consumer<ImageConfigurationInput.Builder> imageConfiguration)
The image configuration for all worker types.
|
CreateApplicationRequest.Builder |
imageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration for all worker types.
|
CreateApplicationRequest.Builder |
initialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is created.
|
default CreateApplicationRequest.Builder |
maximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity)
The maximum capacity to allocate when the application is created.
|
CreateApplicationRequest.Builder |
maximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is created.
|
default CreateApplicationRequest.Builder |
monitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration)
The configuration setting for monitoring.
|
CreateApplicationRequest.Builder |
monitoringConfiguration(MonitoringConfiguration monitoringConfiguration)
The configuration setting for monitoring.
|
CreateApplicationRequest.Builder |
name(String name)
The name of the application.
|
default CreateApplicationRequest.Builder |
networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The network configuration for customer VPC connectivity.
|
CreateApplicationRequest.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity.
|
CreateApplicationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateApplicationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateApplicationRequest.Builder |
releaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.
|
CreateApplicationRequest.Builder |
runtimeConfiguration(Collection<Configuration> runtimeConfiguration)
The Configuration
specifications to use when creating an application.
|
CreateApplicationRequest.Builder |
runtimeConfiguration(Configuration... runtimeConfiguration)
The Configuration
specifications to use when creating an application.
|
CreateApplicationRequest.Builder |
runtimeConfiguration(Consumer<Configuration.Builder>... runtimeConfiguration)
The Configuration
specifications to use when creating an application.
|
CreateApplicationRequest.Builder |
tags(Map<String,String> tags)
The tags assigned to the application.
|
CreateApplicationRequest.Builder |
type(String type)
The type of application you want to start, such as Spark or Hive.
|
CreateApplicationRequest.Builder |
workerTypeSpecifications(Map<String,WorkerTypeSpecificationInput> workerTypeSpecifications)
The key-value pairs that specify worker type to
WorkerTypeSpecificationInput. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateApplicationRequest.Builder name(String name)
The name of the application.
name - The name of the application.CreateApplicationRequest.Builder releaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.
releaseLabel - The Amazon EMR release associated with the application.CreateApplicationRequest.Builder type(String type)
The type of application you want to start, such as Spark or Hive.
type - The type of application you want to start, such as Spark or Hive.CreateApplicationRequest.Builder clientToken(String clientToken)
The client idempotency token of the application to create. Its value must be unique for each request.
clientToken - The client idempotency token of the application to create. Its value must be unique for each request.CreateApplicationRequest.Builder initialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is created.
initialCapacity - The capacity to initialize when the application is created.CreateApplicationRequest.Builder maximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. 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 created. This is cumulative across all
workers at any given point in time, not just when an application is created. No new resources will be
created once any one of the defined limits is hit.default CreateApplicationRequest.Builder maximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity)
The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. 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)CreateApplicationRequest.Builder tags(Map<String,String> tags)
The tags assigned to the application.
tags - The tags assigned to the application.CreateApplicationRequest.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 CreateApplicationRequest.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)CreateApplicationRequest.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 CreateApplicationRequest.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)CreateApplicationRequest.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity.
networkConfiguration - The network configuration for customer VPC connectivity.default CreateApplicationRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The network configuration for customer VPC connectivity.
This is a convenience method that creates an instance of theNetworkConfiguration.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)CreateApplicationRequest.Builder architecture(String architecture)
The CPU architecture of an application.
architecture - The CPU architecture of an application.Architecture,
ArchitectureCreateApplicationRequest.Builder architecture(Architecture architecture)
The CPU architecture of an application.
architecture - The CPU architecture of an application.Architecture,
ArchitectureCreateApplicationRequest.Builder imageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration for all worker types. You can either set this parameter or
imageConfiguration for each worker type in workerTypeSpecifications.
imageConfiguration - The image configuration for all worker types. You can either set this parameter or
imageConfiguration for each worker type in workerTypeSpecifications.default CreateApplicationRequest.Builder imageConfiguration(Consumer<ImageConfigurationInput.Builder> imageConfiguration)
The image configuration for all worker types. You can either set this parameter or
imageConfiguration for each worker type in workerTypeSpecifications.
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)CreateApplicationRequest.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.CreateApplicationRequest.Builder runtimeConfiguration(Collection<Configuration> runtimeConfiguration)
The Configuration specifications to use when creating an application. Each configuration consists of a classification and properties. This configuration is applied to all the job runs submitted under the application.
runtimeConfiguration - The
Configuration specifications to use when creating an application. Each configuration consists of a
classification and properties. This configuration is applied to all the job runs submitted under the
application.CreateApplicationRequest.Builder runtimeConfiguration(Configuration... runtimeConfiguration)
The Configuration specifications to use when creating an application. Each configuration consists of a classification and properties. This configuration is applied to all the job runs submitted under the application.
runtimeConfiguration - The
Configuration specifications to use when creating an application. Each configuration consists of a
classification and properties. This configuration is applied to all the job runs submitted under the
application.CreateApplicationRequest.Builder runtimeConfiguration(Consumer<Configuration.Builder>... runtimeConfiguration)
The Configuration specifications to use when creating an application. Each configuration consists of a classification and properties. This configuration is applied to 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 via Configuration.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #runtimeConfiguration(List.
runtimeConfiguration - a consumer that will call methods on
Configuration.Builder#runtimeConfiguration(java.util.Collection) CreateApplicationRequest.Builder monitoringConfiguration(MonitoringConfiguration monitoringConfiguration)
The configuration setting for monitoring.
monitoringConfiguration - The configuration setting for monitoring.default CreateApplicationRequest.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 via MonitoringConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to monitoringConfiguration(MonitoringConfiguration).
monitoringConfiguration - a consumer that will call methods on MonitoringConfiguration.BuildermonitoringConfiguration(MonitoringConfiguration)CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.