Class CfnApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
- Enclosing class:
CfnApplication
CfnApplication
.-
Method Summary
Modifier and TypeMethodDescriptionarchitecture
(String architecture) The CPU architecture of an application.autoStartConfiguration
(IResolvable autoStartConfiguration) The configuration for an application to automatically start on job submission.autoStartConfiguration
(CfnApplication.AutoStartConfigurationProperty autoStartConfiguration) The configuration for an application to automatically start on job submission.autoStopConfiguration
(IResolvable autoStopConfiguration) The configuration for an application to automatically stop after a certain amount of time being idle.autoStopConfiguration
(CfnApplication.AutoStopConfigurationProperty autoStopConfiguration) The configuration for an application to automatically stop after a certain amount of time being idle.build()
static CfnApplication.Builder
imageConfiguration
(IResolvable imageConfiguration) The image configuration applied to all worker types.imageConfiguration
(CfnApplication.ImageConfigurationInputProperty imageConfiguration) The image configuration applied to all worker types.initialCapacity
(List<? extends Object> initialCapacity) The initial capacity of the application.initialCapacity
(IResolvable initialCapacity) The initial capacity of the application.interactiveConfiguration
(IResolvable interactiveConfiguration) The interactive configuration object that enables the interactive use cases for an application.interactiveConfiguration
(CfnApplication.InteractiveConfigurationProperty interactiveConfiguration) The interactive configuration object that enables the interactive use cases for an application.maximumCapacity
(IResolvable maximumCapacity) The maximum capacity of the application.maximumCapacity
(CfnApplication.MaximumAllowedResourcesProperty maximumCapacity) The maximum capacity of the application.monitoringConfiguration
(IResolvable monitoringConfiguration) A configuration specification to be used when provisioning an application.monitoringConfiguration
(CfnApplication.MonitoringConfigurationProperty monitoringConfiguration) A configuration specification to be used when provisioning an application.The name of the application.networkConfiguration
(IResolvable networkConfiguration) The network configuration for customer VPC connectivity for the application.networkConfiguration
(CfnApplication.NetworkConfigurationProperty networkConfiguration) The network configuration for customer VPC connectivity for the application.releaseLabel
(String releaseLabel) The EMR release associated with the application.runtimeConfiguration
(List<? extends Object> runtimeConfiguration) The Configuration specifications of an application.runtimeConfiguration
(IResolvable runtimeConfiguration) The Configuration specifications of an application.The tags assigned to the application.The type of application, such as Spark or Hive.workerTypeSpecifications
(Map<String, ? extends Object> workerTypeSpecifications) The specification applied to each worker type.workerTypeSpecifications
(IResolvable workerTypeSpecifications) The specification applied to each worker type.
-
Method Details
-
create
@Stability(Stable) public static CfnApplication.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApplication.Builder
.
-
releaseLabel
The EMR release associated with the application.- Parameters:
releaseLabel
- The EMR release associated with the application. This parameter is required.- Returns:
this
- See Also:
-
type
The type of application, such as Spark or Hive.- Parameters:
type
- The type of application, such as Spark or Hive. This parameter is required.- Returns:
this
- See Also:
-
architecture
The CPU architecture of an application.- Parameters:
architecture
- The CPU architecture of an application. This parameter is required.- Returns:
this
- See Also:
-
autoStartConfiguration
@Stability(Stable) public CfnApplication.Builder autoStartConfiguration(IResolvable 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. This parameter is required.- Returns:
this
- See Also:
-
autoStartConfiguration
@Stability(Stable) public CfnApplication.Builder autoStartConfiguration(CfnApplication.AutoStartConfigurationProperty 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. This parameter is required.- Returns:
this
- See Also:
-
autoStopConfiguration
@Stability(Stable) public CfnApplication.Builder autoStopConfiguration(IResolvable 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. This parameter is required.- Returns:
this
- See Also:
-
autoStopConfiguration
@Stability(Stable) public CfnApplication.Builder autoStopConfiguration(CfnApplication.AutoStopConfigurationProperty 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. This parameter is required.- Returns:
this
- See Also:
-
imageConfiguration
The image configuration applied to all worker types.- Parameters:
imageConfiguration
- The image configuration applied to all worker types. This parameter is required.- Returns:
this
- See Also:
-
imageConfiguration
@Stability(Stable) public CfnApplication.Builder imageConfiguration(CfnApplication.ImageConfigurationInputProperty imageConfiguration) The image configuration applied to all worker types.- Parameters:
imageConfiguration
- The image configuration applied to all worker types. This parameter is required.- Returns:
this
- See Also:
-
initialCapacity
The initial capacity of the application.- Parameters:
initialCapacity
- The initial capacity of the application. This parameter is required.- Returns:
this
- See Also:
-
initialCapacity
@Stability(Stable) public CfnApplication.Builder initialCapacity(List<? extends Object> initialCapacity) The initial capacity of the application.- Parameters:
initialCapacity
- The initial capacity of the application. This parameter is required.- Returns:
this
- See Also:
-
interactiveConfiguration
@Stability(Stable) public CfnApplication.Builder interactiveConfiguration(IResolvable interactiveConfiguration) The interactive configuration object that enables the interactive use cases for an application.- Parameters:
interactiveConfiguration
- The interactive configuration object that enables the interactive use cases for an application. This parameter is required.- Returns:
this
- See Also:
-
interactiveConfiguration
@Stability(Stable) public CfnApplication.Builder interactiveConfiguration(CfnApplication.InteractiveConfigurationProperty interactiveConfiguration) The interactive configuration object that enables the interactive use cases for an application.- Parameters:
interactiveConfiguration
- The interactive configuration object that enables the interactive use cases for an application. This parameter is required.- Returns:
this
- See Also:
-
maximumCapacity
The maximum capacity of the application.This is cumulative across all workers at any given point in time during the lifespan of the application is created. No new resources will be created once any one of the defined limits is hit.
- Parameters:
maximumCapacity
- The maximum capacity of the application. This parameter is required.- Returns:
this
- See Also:
-
maximumCapacity
@Stability(Stable) public CfnApplication.Builder maximumCapacity(CfnApplication.MaximumAllowedResourcesProperty maximumCapacity) The maximum capacity of the application.This is cumulative across all workers at any given point in time during the lifespan of the application is created. No new resources will be created once any one of the defined limits is hit.
- Parameters:
maximumCapacity
- The maximum capacity of the application. This parameter is required.- Returns:
this
- See Also:
-
monitoringConfiguration
@Stability(Stable) public CfnApplication.Builder monitoringConfiguration(IResolvable monitoringConfiguration) A configuration specification to be used when provisioning an application.A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
- Parameters:
monitoringConfiguration
- A configuration specification to be used when provisioning an application. This parameter is required.- Returns:
this
- See Also:
-
monitoringConfiguration
@Stability(Stable) public CfnApplication.Builder monitoringConfiguration(CfnApplication.MonitoringConfigurationProperty monitoringConfiguration) A configuration specification to be used when provisioning an application.A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
- Parameters:
monitoringConfiguration
- A configuration specification to be used when provisioning an application. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the application.- Parameters:
name
- The name of the application. This parameter is required.- Returns:
this
- See Also:
-
networkConfiguration
@Stability(Stable) public CfnApplication.Builder networkConfiguration(IResolvable networkConfiguration) The network configuration for customer VPC connectivity for the application.- Parameters:
networkConfiguration
- The network configuration for customer VPC connectivity for the application. This parameter is required.- Returns:
this
- See Also:
-
networkConfiguration
@Stability(Stable) public CfnApplication.Builder networkConfiguration(CfnApplication.NetworkConfigurationProperty networkConfiguration) The network configuration for customer VPC connectivity for the application.- Parameters:
networkConfiguration
- The network configuration for customer VPC connectivity for the application. This parameter is required.- Returns:
this
- See Also:
-
runtimeConfiguration
@Stability(Stable) public CfnApplication.Builder runtimeConfiguration(IResolvable runtimeConfiguration) The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation.- Parameters:
runtimeConfiguration
- The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation. This parameter is required.- Returns:
this
- See Also:
-
runtimeConfiguration
@Stability(Stable) public CfnApplication.Builder runtimeConfiguration(List<? extends Object> runtimeConfiguration) The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation.- Parameters:
runtimeConfiguration
- The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags assigned to the application.- Parameters:
tags
- The tags assigned to the application. This parameter is required.- Returns:
this
- See Also:
-
workerTypeSpecifications
@Stability(Stable) public CfnApplication.Builder workerTypeSpecifications(IResolvable workerTypeSpecifications) The specification applied to each worker type.- Parameters:
workerTypeSpecifications
- The specification applied to each worker type. This parameter is required.- Returns:
this
- See Also:
-
workerTypeSpecifications
@Stability(Stable) public CfnApplication.Builder workerTypeSpecifications(Map<String, ? extends Object> workerTypeSpecifications) The specification applied to each worker type.- Parameters:
workerTypeSpecifications
- The specification applied to each worker type. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication>
- Returns:
- a newly built instance of
CfnApplication
.
-