Interface CreateApplicationRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateApplicationRequest.Builder,,- CreateApplicationRequest> - EmrServerlessRequest.Builder,- SdkBuilder<CreateApplicationRequest.Builder,,- CreateApplicationRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateApplicationRequest
- 
Method SummaryModifier and TypeMethodDescriptionarchitecture(String architecture) The CPU architecture of an application.architecture(Architecture architecture) The CPU architecture of an application.default CreateApplicationRequest.BuilderautoStartConfiguration(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 CreateApplicationRequest.BuilderautoStopConfiguration(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 create.default CreateApplicationRequest.BuilderidentityCenterConfiguration(Consumer<IdentityCenterConfigurationInput.Builder> identityCenterConfiguration) The IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation.identityCenterConfiguration(IdentityCenterConfigurationInput identityCenterConfiguration) The IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation.default CreateApplicationRequest.BuilderimageConfiguration(Consumer<ImageConfigurationInput.Builder> imageConfiguration) The image configuration for all worker types.imageConfiguration(ImageConfigurationInput imageConfiguration) The image configuration for all worker types.initialCapacity(Map<String, InitialCapacityConfig> initialCapacity) The capacity to initialize when the application is created.default CreateApplicationRequest.BuilderinteractiveConfiguration(Consumer<InteractiveConfiguration.Builder> interactiveConfiguration) The interactive configuration object that enables the interactive use cases to use when running an application.interactiveConfiguration(InteractiveConfiguration interactiveConfiguration) The interactive configuration object that enables the interactive use cases to use when running an application.default CreateApplicationRequest.BuildermaximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity) The maximum capacity to allocate when the application is created.maximumCapacity(MaximumAllowedResources maximumCapacity) The maximum capacity to allocate when the application is created.default CreateApplicationRequest.BuildermonitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) The configuration setting for monitoring.monitoringConfiguration(MonitoringConfiguration monitoringConfiguration) The configuration setting for monitoring.The name of the application.default CreateApplicationRequest.BuildernetworkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) The network configuration for customer VPC connectivity.networkConfiguration(NetworkConfiguration networkConfiguration) The network configuration for customer VPC connectivity.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 associated with the application.runtimeConfiguration(Collection<Configuration> runtimeConfiguration) The Configuration specifications to use when creating an application.runtimeConfiguration(Consumer<Configuration.Builder>... runtimeConfiguration) The Configuration specifications to use when creating an application.runtimeConfiguration(Configuration... runtimeConfiguration) The Configuration specifications to use when creating an application.default CreateApplicationRequest.BuilderschedulerConfiguration(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.The tags assigned to the application.The type of application you want to start, such as Spark or Hive.workerTypeSpecifications(Map<String, WorkerTypeSpecificationInput> workerTypeSpecifications) The key-value pairs that specify worker type toWorkerTypeSpecificationInput.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name of the application. - Parameters:
- name- The name of the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
releaseLabelThe Amazon EMR release associated with the application. - Parameters:
- releaseLabel- The Amazon EMR release associated with the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe type of application you want to start, such as Spark or Hive. - Parameters:
- type- The type of application you want to start, such as Spark or Hive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clientTokenThe client idempotency token of the application to create. Its value must be unique for each request. - Parameters:
- clientToken- The client idempotency token of the application to create. Its value must be unique for each request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
initialCapacityThe capacity to initialize when the application is created. - Parameters:
- initialCapacity- The capacity to initialize when the application is created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maximumCapacityThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maximumCapacitydefault 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.Builderavoiding the need to create one manually viaMaximumAllowedResources.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaximumCapacity(MaximumAllowedResources).- Parameters:
- maximumCapacity- a consumer that will call methods on- MaximumAllowedResources.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe tags assigned to the application. - Parameters:
- tags- The tags assigned to the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoStartConfigurationThe 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.
 
- 
autoStartConfigurationdefault 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.Builderavoiding the need to create one manually viaAutoStartConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoStartConfiguration(AutoStartConfig).- Parameters:
- autoStartConfiguration- a consumer that will call methods on- AutoStartConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
autoStopConfigurationThe 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.
 
- 
autoStopConfigurationdefault 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.Builderavoiding the need to create one manually viaAutoStopConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoStopConfiguration(AutoStopConfig).- Parameters:
- autoStopConfiguration- a consumer that will call methods on- AutoStopConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
networkConfigurationThe network configuration for customer VPC connectivity. - Parameters:
- networkConfiguration- The network configuration for customer VPC connectivity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
networkConfigurationdefault 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.Builderavoiding the need to create one manually viaNetworkConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration).- Parameters:
- networkConfiguration- a consumer that will call methods on- NetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
architectureThe 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:
 
- 
architectureThe 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:
 
- 
imageConfigurationThe image configuration for all worker types. You can either set this parameter or imageConfigurationfor each worker type inworkerTypeSpecifications.- Parameters:
- imageConfiguration- The image configuration for all worker types. You can either set this parameter or- imageConfigurationfor each worker type in- workerTypeSpecifications.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageConfigurationdefault CreateApplicationRequest.Builder imageConfiguration(Consumer<ImageConfigurationInput.Builder> imageConfiguration) The image configuration for all worker types. You can either set this parameter or This is a convenience method that creates an instance of theimageConfigurationfor each worker type inworkerTypeSpecifications.ImageConfigurationInput.Builderavoiding the need to create one manually viaImageConfigurationInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageConfiguration(ImageConfigurationInput).- Parameters:
- imageConfiguration- a consumer that will call methods on- ImageConfigurationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workerTypeSpecificationsCreateApplicationRequest.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 includeDriverandExecutorfor Spark applications andHiveDriverandTezTaskfor Hive applications. You can either set image details in this parameter for each worker type, or inimageConfigurationfor all worker types.- Parameters:
- 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- Driverand- Executorfor Spark applications and- HiveDriverand- TezTaskfor Hive applications. You can either set image details in this parameter for each worker type, or in- imageConfigurationfor all worker types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeConfigurationCreateApplicationRequest.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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeConfigurationThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeConfigurationCreateApplicationRequest.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.Builderavoiding the need to create one manually viaConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntimeConfiguration(List<Configuration>).- Parameters:
- runtimeConfiguration- a consumer that will call methods on- Configuration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
monitoringConfigurationCreateApplicationRequest.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.
 
- 
monitoringConfigurationdefault CreateApplicationRequest.Builder monitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) The configuration setting for monitoring. This is a convenience method that creates an instance of theMonitoringConfiguration.Builderavoiding the need to create one manually viaMonitoringConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonitoringConfiguration(MonitoringConfiguration).- Parameters:
- monitoringConfiguration- a consumer that will call methods on- MonitoringConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
interactiveConfigurationCreateApplicationRequest.Builder interactiveConfiguration(InteractiveConfiguration interactiveConfiguration) The interactive configuration object that enables the interactive use cases to use when running an application. - Parameters:
- interactiveConfiguration- The interactive configuration object that enables the interactive use cases to use when running an application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
interactiveConfigurationdefault CreateApplicationRequest.Builder interactiveConfiguration(Consumer<InteractiveConfiguration.Builder> interactiveConfiguration) The interactive configuration object that enables the interactive use cases to use when running an application. This is a convenience method that creates an instance of theInteractiveConfiguration.Builderavoiding the need to create one manually viaInteractiveConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointeractiveConfiguration(InteractiveConfiguration).- Parameters:
- interactiveConfiguration- a consumer that will call methods on- InteractiveConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
schedulerConfigurationCreateApplicationRequest.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.
 
- 
schedulerConfigurationdefault CreateApplicationRequest.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.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 on- SchedulerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
identityCenterConfigurationCreateApplicationRequest.Builder identityCenterConfiguration(IdentityCenterConfigurationInput identityCenterConfiguration) The IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation. This configuration allows identity propagation between integrated services and the Identity Center instance. - Parameters:
- identityCenterConfiguration- The IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation. This configuration allows identity propagation between integrated services and the Identity Center instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
identityCenterConfigurationdefault CreateApplicationRequest.Builder identityCenterConfiguration(Consumer<IdentityCenterConfigurationInput.Builder> identityCenterConfiguration) The IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation. This configuration allows identity propagation between integrated services and the Identity Center instance. This is a convenience method that creates an instance of theIdentityCenterConfigurationInput.Builderavoiding the need to create one manually viaIdentityCenterConfigurationInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityCenterConfiguration(IdentityCenterConfigurationInput).- Parameters:
- identityCenterConfiguration- a consumer that will call methods on- IdentityCenterConfigurationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-