Interface Application.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Application.Builder,,- Application> - SdkBuilder<Application.Builder,,- Application> - SdkPojo
- Enclosing class:
- Application
- 
Method SummaryModifier and TypeMethodDescriptionapplicationId(String applicationId) The ID of the application.architecture(String architecture) The CPU architecture of an application.architecture(Architecture architecture) The CPU architecture of an application.The ARN of the application.default Application.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 Application.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.The date and time when the application run was created.default Application.BuilderidentityCenterConfiguration(Consumer<IdentityCenterConfiguration.Builder> identityCenterConfiguration) The IAM Identity Center configuration applied to enable trusted identity propagation.identityCenterConfiguration(IdentityCenterConfiguration identityCenterConfiguration) The IAM Identity Center configuration applied to enable trusted identity propagation.default Application.BuilderimageConfiguration(Consumer<ImageConfiguration.Builder> imageConfiguration) The image configuration applied to all worker types.imageConfiguration(ImageConfiguration imageConfiguration) The image configuration applied to all worker types.initialCapacity(Map<String, InitialCapacityConfig> initialCapacity) The initial capacity of the application.default Application.BuilderinteractiveConfiguration(Consumer<InteractiveConfiguration.Builder> interactiveConfiguration) The interactive configuration object that enables the interactive use cases for an application.interactiveConfiguration(InteractiveConfiguration interactiveConfiguration) The interactive configuration object that enables the interactive use cases for an application.default Application.BuildermaximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity) The maximum capacity of the application.maximumCapacity(MaximumAllowedResources maximumCapacity) The maximum capacity of the application.default Application.BuildermonitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) Sets the value of the MonitoringConfiguration property for this object.monitoringConfiguration(MonitoringConfiguration monitoringConfiguration) Sets the value of the MonitoringConfiguration property for this object.The name of the application.default Application.BuildernetworkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) The network configuration for customer VPC connectivity for the application.networkConfiguration(NetworkConfiguration networkConfiguration) The network configuration for customer VPC connectivity for the application.releaseLabel(String releaseLabel) The Amazon EMR release associated with the application.runtimeConfiguration(Collection<Configuration> runtimeConfiguration) The Configuration specifications of an application.runtimeConfiguration(Consumer<Configuration.Builder>... runtimeConfiguration) The Configuration specifications of an application.runtimeConfiguration(Configuration... runtimeConfiguration) The Configuration specifications of an application.default Application.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 state of the application.state(ApplicationState state) The state of the application.stateDetails(String stateDetails) The state details of the application.The tags assigned to the application.The type of application, such as Spark or Hive.The date and time when the application run was last updated.workerTypeSpecifications(Map<String, WorkerTypeSpecification> workerTypeSpecifications) The specification applied to each worker type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
applicationIdThe ID of the application. - Parameters:
- applicationId- The ID of the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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.
 
- 
arnThe ARN of the application. - Parameters:
- arn- The ARN 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, such as Spark or Hive. - Parameters:
- type- The type of application, such as Spark or Hive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateThe state of the application. - Parameters:
- state- The state of the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateThe state of the application. - Parameters:
- state- The state of the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateDetailsThe state details of the application. - Parameters:
- stateDetails- The state details of the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
initialCapacityThe initial capacity of the application. - Parameters:
- initialCapacity- The initial capacity of the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maximumCapacityThe 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 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:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maximumCapacitydefault Application.Builder maximumCapacity(Consumer<MaximumAllowedResources.Builder> 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. 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:
 
- 
createdAtThe date and time when the application run was created. - Parameters:
- createdAt- The date and time when the application run was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatedAtThe date and time when the application run was last updated. - Parameters:
- updatedAt- The date and time when the application run was last updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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 Application.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 Application.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 for the application. - Parameters:
- networkConfiguration- The network configuration for customer VPC connectivity for the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
networkConfigurationdefault Application.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) The network configuration for customer VPC connectivity for the application. 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 applied to all worker types. - Parameters:
- imageConfiguration- The image configuration applied to all worker types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageConfigurationdefault Application.Builder imageConfiguration(Consumer<ImageConfiguration.Builder> imageConfiguration) The image configuration applied to all worker types. This is a convenience method that creates an instance of theImageConfiguration.Builderavoiding the need to create one manually viaImageConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageConfiguration(ImageConfiguration).- Parameters:
- imageConfiguration- a consumer that will call methods on- ImageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workerTypeSpecificationsApplication.Builder workerTypeSpecifications(Map<String, WorkerTypeSpecification> workerTypeSpecifications) The specification applied to each worker type. - Parameters:
- workerTypeSpecifications- The specification applied to each worker type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeConfigurationThe 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeConfigurationThe 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeConfigurationThe 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 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:
 
- 
monitoringConfigurationSets the value of the MonitoringConfiguration property for this object.- Parameters:
- monitoringConfiguration- The new value for the MonitoringConfiguration property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
monitoringConfigurationdefault Application.Builder monitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) Sets the value of the MonitoringConfiguration property for this object. 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:
 
- 
interactiveConfigurationThe 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
interactiveConfigurationdefault Application.Builder interactiveConfiguration(Consumer<InteractiveConfiguration.Builder> interactiveConfiguration) The interactive configuration object that enables the interactive use cases for 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:
 
- 
schedulerConfigurationThe 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 Application.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:
 
- 
identityCenterConfigurationApplication.Builder identityCenterConfiguration(IdentityCenterConfiguration identityCenterConfiguration) The IAM Identity Center configuration applied to enable trusted identity propagation. - Parameters:
- identityCenterConfiguration- The IAM Identity Center configuration applied to enable trusted identity propagation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
identityCenterConfigurationdefault Application.Builder identityCenterConfiguration(Consumer<IdentityCenterConfiguration.Builder> identityCenterConfiguration) The IAM Identity Center configuration applied to enable trusted identity propagation. This is a convenience method that creates an instance of theIdentityCenterConfiguration.Builderavoiding the need to create one manually viaIdentityCenterConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityCenterConfiguration(IdentityCenterConfiguration).- Parameters:
- identityCenterConfiguration- a consumer that will call methods on- IdentityCenterConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-