Interface Application.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Application.Builder,Application>
,SdkBuilder<Application.Builder,Application>
,SdkPojo
- Enclosing class:
- Application
public static interface Application.Builder extends SdkPojo, CopyableBuilder<Application.Builder,Application>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Application.Builder
applicationId(String applicationId)
The ID of the application.Application.Builder
architecture(String architecture)
The CPU architecture of an application.Application.Builder
architecture(Architecture architecture)
The CPU architecture of an application.Application.Builder
arn(String arn)
The ARN of the application.default Application.Builder
autoStartConfiguration(Consumer<AutoStartConfig.Builder> autoStartConfiguration)
The configuration for an application to automatically start on job submission.Application.Builder
autoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.default Application.Builder
autoStopConfiguration(Consumer<AutoStopConfig.Builder> autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.Application.Builder
autoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.Application.Builder
createdAt(Instant createdAt)
The date and time when the application run was created.default Application.Builder
imageConfiguration(Consumer<ImageConfiguration.Builder> imageConfiguration)
The image configuration applied to all worker types.Application.Builder
imageConfiguration(ImageConfiguration imageConfiguration)
The image configuration applied to all worker types.Application.Builder
initialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.default Application.Builder
interactiveConfiguration(Consumer<InteractiveConfiguration.Builder> interactiveConfiguration)
The interactive configuration object that enables the interactive use cases for an application.Application.Builder
interactiveConfiguration(InteractiveConfiguration interactiveConfiguration)
The interactive configuration object that enables the interactive use cases for an application.default Application.Builder
maximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity)
The maximum capacity of the application.Application.Builder
maximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity of the application.default Application.Builder
monitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration)
Sets the value of the MonitoringConfiguration property for this object.Application.Builder
monitoringConfiguration(MonitoringConfiguration monitoringConfiguration)
Sets the value of the MonitoringConfiguration property for this object.Application.Builder
name(String name)
The name of the application.default Application.Builder
networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The network configuration for customer VPC connectivity for the application.Application.Builder
networkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity for the application.Application.Builder
releaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.Application.Builder
runtimeConfiguration(Collection<Configuration> runtimeConfiguration)
The Configuration specifications of an application.Application.Builder
runtimeConfiguration(Consumer<Configuration.Builder>... runtimeConfiguration)
The Configuration specifications of an application.Application.Builder
runtimeConfiguration(Configuration... runtimeConfiguration)
The Configuration specifications of an application.default Application.Builder
schedulerConfiguration(Consumer<SchedulerConfiguration.Builder> schedulerConfiguration)
The scheduler configuration for batch and streaming jobs running on this application.Application.Builder
schedulerConfiguration(SchedulerConfiguration schedulerConfiguration)
The scheduler configuration for batch and streaming jobs running on this application.Application.Builder
state(String state)
The state of the application.Application.Builder
state(ApplicationState state)
The state of the application.Application.Builder
stateDetails(String stateDetails)
The state details of the application.Application.Builder
tags(Map<String,String> tags)
The tags assigned to the application.Application.Builder
type(String type)
The type of application, such as Spark or Hive.Application.Builder
updatedAt(Instant updatedAt)
The date and time when the application run was last updated.Application.Builder
workerTypeSpecifications(Map<String,WorkerTypeSpecification> workerTypeSpecifications)
The specification applied to each worker type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
Application.Builder applicationId(String applicationId)
The 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.
-
name
Application.Builder name(String name)
The 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.
-
arn
Application.Builder arn(String arn)
The 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.
-
releaseLabel
Application.Builder releaseLabel(String releaseLabel)
The 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.
-
type
Application.Builder type(String type)
The 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.
-
state
Application.Builder state(String state)
The 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:
ApplicationState
,ApplicationState
-
state
Application.Builder state(ApplicationState state)
The 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:
ApplicationState
,ApplicationState
-
stateDetails
Application.Builder stateDetails(String stateDetails)
The 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.
-
initialCapacity
Application.Builder initialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The 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.
-
maximumCapacity
Application.Builder maximumCapacity(MaximumAllowedResources 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 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.
-
maximumCapacity
default 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.Builder
avoiding the need to create one manually viaMaximumAllowedResources.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaximumCapacity(MaximumAllowedResources)
.- Parameters:
maximumCapacity
- a consumer that will call methods onMaximumAllowedResources.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
maximumCapacity(MaximumAllowedResources)
-
createdAt
Application.Builder createdAt(Instant createdAt)
The 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.
-
updatedAt
Application.Builder updatedAt(Instant updatedAt)
The 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.
-
tags
Application.Builder tags(Map<String,String> tags)
The 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.
-
autoStartConfiguration
Application.Builder autoStartConfiguration(AutoStartConfig 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoStartConfiguration
default 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.Builder
avoiding the need to create one manually viaAutoStartConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoStartConfiguration(AutoStartConfig)
.- Parameters:
autoStartConfiguration
- a consumer that will call methods onAutoStartConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoStartConfiguration(AutoStartConfig)
-
autoStopConfiguration
Application.Builder autoStopConfiguration(AutoStopConfig 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoStopConfiguration
default 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.Builder
avoiding the need to create one manually viaAutoStopConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoStopConfiguration(AutoStopConfig)
.- Parameters:
autoStopConfiguration
- a consumer that will call methods onAutoStopConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoStopConfiguration(AutoStopConfig)
-
networkConfiguration
Application.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
The 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.
-
networkConfiguration
default 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.Builder
avoiding the need to create one manually viaNetworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration)
.- Parameters:
networkConfiguration
- a consumer that will call methods onNetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
networkConfiguration(NetworkConfiguration)
-
architecture
Application.Builder architecture(String architecture)
The 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:
Architecture
,Architecture
-
architecture
Application.Builder architecture(Architecture architecture)
The 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:
Architecture
,Architecture
-
imageConfiguration
Application.Builder imageConfiguration(ImageConfiguration imageConfiguration)
The 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.
-
imageConfiguration
default 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.Builder
avoiding the need to create one manually viaImageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageConfiguration(ImageConfiguration)
.- Parameters:
imageConfiguration
- a consumer that will call methods onImageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
imageConfiguration(ImageConfiguration)
-
workerTypeSpecifications
Application.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.
-
runtimeConfiguration
Application.Builder runtimeConfiguration(Collection<Configuration> 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfiguration
Application.Builder runtimeConfiguration(Configuration... 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfiguration
Application.Builder runtimeConfiguration(Consumer<Configuration.Builder>... 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 is a convenience method that creates an instance of theConfiguration.Builder
avoiding the need to create one manually viaConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#runtimeConfiguration(List
.) - Parameters:
runtimeConfiguration
- a consumer that will call methods onConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#runtimeConfiguration(java.util.Collection
)
-
monitoringConfiguration
Application.Builder monitoringConfiguration(MonitoringConfiguration monitoringConfiguration)
Sets 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.
-
monitoringConfiguration
default 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.Builder
avoiding the need to create one manually viaMonitoringConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringConfiguration(MonitoringConfiguration)
.- Parameters:
monitoringConfiguration
- a consumer that will call methods onMonitoringConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
monitoringConfiguration(MonitoringConfiguration)
-
interactiveConfiguration
Application.Builder interactiveConfiguration(InteractiveConfiguration 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactiveConfiguration
default 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.Builder
avoiding the need to create one manually viaInteractiveConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointeractiveConfiguration(InteractiveConfiguration)
.- Parameters:
interactiveConfiguration
- a consumer that will call methods onInteractiveConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
interactiveConfiguration(InteractiveConfiguration)
-
schedulerConfiguration
Application.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.
-
schedulerConfiguration
default 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.Builder
avoiding the need to create one manually viaSchedulerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedulerConfiguration(SchedulerConfiguration)
.- Parameters:
schedulerConfiguration
- a consumer that will call methods onSchedulerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schedulerConfiguration(SchedulerConfiguration)
-
-