Class CfnApplicationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emrserverless.CfnApplicationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationMixinProps>
- Enclosing interface:
CfnApplicationMixinProps
@Stability(Stable)
public static final class CfnApplicationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationMixinProps>
A builder for
CfnApplicationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchitecture(String architecture) Sets the value ofCfnApplicationMixinProps.getArchitecture()autoStartConfiguration(CfnApplicationPropsMixin.AutoStartConfigurationProperty autoStartConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStartConfiguration()autoStartConfiguration(IResolvable autoStartConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStartConfiguration()autoStopConfiguration(CfnApplicationPropsMixin.AutoStopConfigurationProperty autoStopConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStopConfiguration()autoStopConfiguration(IResolvable autoStopConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStopConfiguration()build()Builds the configured instance.identityCenterConfiguration(CfnApplicationPropsMixin.IdentityCenterConfigurationProperty identityCenterConfiguration) Sets the value ofCfnApplicationMixinProps.getIdentityCenterConfiguration()identityCenterConfiguration(IResolvable identityCenterConfiguration) Sets the value ofCfnApplicationMixinProps.getIdentityCenterConfiguration()imageConfiguration(CfnApplicationPropsMixin.ImageConfigurationInputProperty imageConfiguration) Sets the value ofCfnApplicationMixinProps.getImageConfiguration()imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnApplicationMixinProps.getImageConfiguration()initialCapacity(List<? extends Object> initialCapacity) Sets the value ofCfnApplicationMixinProps.getInitialCapacity()initialCapacity(IResolvable initialCapacity) Sets the value ofCfnApplicationMixinProps.getInitialCapacity()interactiveConfiguration(CfnApplicationPropsMixin.InteractiveConfigurationProperty interactiveConfiguration) Sets the value ofCfnApplicationMixinProps.getInteractiveConfiguration()interactiveConfiguration(IResolvable interactiveConfiguration) Sets the value ofCfnApplicationMixinProps.getInteractiveConfiguration()maximumCapacity(CfnApplicationPropsMixin.MaximumAllowedResourcesProperty maximumCapacity) Sets the value ofCfnApplicationMixinProps.getMaximumCapacity()maximumCapacity(IResolvable maximumCapacity) Sets the value ofCfnApplicationMixinProps.getMaximumCapacity()monitoringConfiguration(CfnApplicationPropsMixin.MonitoringConfigurationProperty monitoringConfiguration) Sets the value ofCfnApplicationMixinProps.getMonitoringConfiguration()monitoringConfiguration(IResolvable monitoringConfiguration) Sets the value ofCfnApplicationMixinProps.getMonitoringConfiguration()Sets the value ofCfnApplicationMixinProps.getName()networkConfiguration(CfnApplicationPropsMixin.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnApplicationMixinProps.getNetworkConfiguration()networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnApplicationMixinProps.getNetworkConfiguration()releaseLabel(String releaseLabel) Sets the value ofCfnApplicationMixinProps.getReleaseLabel()runtimeConfiguration(List<? extends Object> runtimeConfiguration) Sets the value ofCfnApplicationMixinProps.getRuntimeConfiguration()runtimeConfiguration(IResolvable runtimeConfiguration) Sets the value ofCfnApplicationMixinProps.getRuntimeConfiguration()schedulerConfiguration(CfnApplicationPropsMixin.SchedulerConfigurationProperty schedulerConfiguration) Sets the value ofCfnApplicationMixinProps.getSchedulerConfiguration()schedulerConfiguration(IResolvable schedulerConfiguration) Sets the value ofCfnApplicationMixinProps.getSchedulerConfiguration()Sets the value ofCfnApplicationMixinProps.getTags()Sets the value ofCfnApplicationMixinProps.getType()workerTypeSpecifications(Map<String, ? extends Object> workerTypeSpecifications) Sets the value ofCfnApplicationMixinProps.getWorkerTypeSpecifications()workerTypeSpecifications(IResolvable workerTypeSpecifications) Sets the value ofCfnApplicationMixinProps.getWorkerTypeSpecifications()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
architecture
Sets the value ofCfnApplicationMixinProps.getArchitecture()- Parameters:
architecture- The CPU architecture of an application.- Returns:
this
-
autoStartConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder autoStartConfiguration(IResolvable autoStartConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStartConfiguration()- Parameters:
autoStartConfiguration- The configuration for an application to automatically start on job submission.- Returns:
this
-
autoStartConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder autoStartConfiguration(CfnApplicationPropsMixin.AutoStartConfigurationProperty autoStartConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStartConfiguration()- Parameters:
autoStartConfiguration- The configuration for an application to automatically start on job submission.- Returns:
this
-
autoStopConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder autoStopConfiguration(IResolvable autoStopConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStopConfiguration()- Parameters:
autoStopConfiguration- The configuration for an application to automatically stop after a certain amount of time being idle.- Returns:
this
-
autoStopConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder autoStopConfiguration(CfnApplicationPropsMixin.AutoStopConfigurationProperty autoStopConfiguration) Sets the value ofCfnApplicationMixinProps.getAutoStopConfiguration()- Parameters:
autoStopConfiguration- The configuration for an application to automatically stop after a certain amount of time being idle.- Returns:
this
-
identityCenterConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder identityCenterConfiguration(IResolvable identityCenterConfiguration) Sets the value ofCfnApplicationMixinProps.getIdentityCenterConfiguration()- Parameters:
identityCenterConfiguration- The IAM Identity Center configuration applied to enable trusted identity propagation.- Returns:
this
-
identityCenterConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder identityCenterConfiguration(CfnApplicationPropsMixin.IdentityCenterConfigurationProperty identityCenterConfiguration) Sets the value ofCfnApplicationMixinProps.getIdentityCenterConfiguration()- Parameters:
identityCenterConfiguration- The IAM Identity Center configuration applied to enable trusted identity propagation.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnApplicationMixinProps.getImageConfiguration()- Parameters:
imageConfiguration- The image configuration applied to all worker types.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder imageConfiguration(CfnApplicationPropsMixin.ImageConfigurationInputProperty imageConfiguration) Sets the value ofCfnApplicationMixinProps.getImageConfiguration()- Parameters:
imageConfiguration- The image configuration applied to all worker types.- Returns:
this
-
initialCapacity
@Stability(Stable) public CfnApplicationMixinProps.Builder initialCapacity(IResolvable initialCapacity) Sets the value ofCfnApplicationMixinProps.getInitialCapacity()- Parameters:
initialCapacity- The initial capacity of the application.- Returns:
this
-
initialCapacity
@Stability(Stable) public CfnApplicationMixinProps.Builder initialCapacity(List<? extends Object> initialCapacity) Sets the value ofCfnApplicationMixinProps.getInitialCapacity()- Parameters:
initialCapacity- The initial capacity of the application.- Returns:
this
-
interactiveConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder interactiveConfiguration(IResolvable interactiveConfiguration) Sets the value ofCfnApplicationMixinProps.getInteractiveConfiguration()- Parameters:
interactiveConfiguration- The interactive configuration object that enables the interactive use cases for an application.- Returns:
this
-
interactiveConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder interactiveConfiguration(CfnApplicationPropsMixin.InteractiveConfigurationProperty interactiveConfiguration) Sets the value ofCfnApplicationMixinProps.getInteractiveConfiguration()- Parameters:
interactiveConfiguration- The interactive configuration object that enables the interactive use cases for an application.- Returns:
this
-
maximumCapacity
@Stability(Stable) public CfnApplicationMixinProps.Builder maximumCapacity(IResolvable maximumCapacity) Sets the value ofCfnApplicationMixinProps.getMaximumCapacity()- Parameters:
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.- Returns:
this
-
maximumCapacity
@Stability(Stable) public CfnApplicationMixinProps.Builder maximumCapacity(CfnApplicationPropsMixin.MaximumAllowedResourcesProperty maximumCapacity) Sets the value ofCfnApplicationMixinProps.getMaximumCapacity()- Parameters:
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.- Returns:
this
-
monitoringConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder monitoringConfiguration(IResolvable monitoringConfiguration) Sets the value ofCfnApplicationMixinProps.getMonitoringConfiguration()- Parameters:
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.- Returns:
this
-
monitoringConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder monitoringConfiguration(CfnApplicationPropsMixin.MonitoringConfigurationProperty monitoringConfiguration) Sets the value ofCfnApplicationMixinProps.getMonitoringConfiguration()- Parameters:
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.- Returns:
this
-
name
Sets the value ofCfnApplicationMixinProps.getName()- Parameters:
name- The name of the application.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnApplicationMixinProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration for customer VPC connectivity for the application.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder networkConfiguration(CfnApplicationPropsMixin.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnApplicationMixinProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration for customer VPC connectivity for the application.- Returns:
this
-
releaseLabel
Sets the value ofCfnApplicationMixinProps.getReleaseLabel()- Parameters:
releaseLabel- The EMR release associated with the application.- Returns:
this
-
runtimeConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder runtimeConfiguration(IResolvable runtimeConfiguration) Sets the value ofCfnApplicationMixinProps.getRuntimeConfiguration()- 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.- Returns:
this
-
runtimeConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder runtimeConfiguration(List<? extends Object> runtimeConfiguration) Sets the value ofCfnApplicationMixinProps.getRuntimeConfiguration()- 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.- Returns:
this
-
schedulerConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder schedulerConfiguration(IResolvable schedulerConfiguration) Sets the value ofCfnApplicationMixinProps.getSchedulerConfiguration()- 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:
this
-
schedulerConfiguration
@Stability(Stable) public CfnApplicationMixinProps.Builder schedulerConfiguration(CfnApplicationPropsMixin.SchedulerConfigurationProperty schedulerConfiguration) Sets the value ofCfnApplicationMixinProps.getSchedulerConfiguration()- 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:
this
-
tags
Sets the value ofCfnApplicationMixinProps.getTags()- Parameters:
tags- The tags assigned to the application.- Returns:
this
-
type
Sets the value ofCfnApplicationMixinProps.getType()- Parameters:
type- The type of application, such as Spark or Hive.- Returns:
this
-
workerTypeSpecifications
@Stability(Stable) public CfnApplicationMixinProps.Builder workerTypeSpecifications(IResolvable workerTypeSpecifications) Sets the value ofCfnApplicationMixinProps.getWorkerTypeSpecifications()- Parameters:
workerTypeSpecifications- The specification applied to each worker type.- Returns:
this
-
workerTypeSpecifications
@Stability(Stable) public CfnApplicationMixinProps.Builder workerTypeSpecifications(Map<String, ? extends Object> workerTypeSpecifications) Sets the value ofCfnApplicationMixinProps.getWorkerTypeSpecifications()- Parameters:
workerTypeSpecifications- The specification applied to each worker type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationMixinProps>- Returns:
- a new instance of
CfnApplicationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-