public static interface Application.Builder extends SdkPojo, CopyableBuilder<Application.Builder,Application>
Modifier and Type | Method and Description |
---|---|
Application.Builder |
applicationId(String applicationId)
The ID of the application.
|
Application.Builder |
architecture(Architecture architecture)
The CPU architecture of an application.
|
Application.Builder |
architecture(String architecture)
The CPU architecture of an application.
|
Application.Builder |
arn(String arn)
The ARN of the application.
|
Application.Builder |
autoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
default Application.Builder |
autoStartConfiguration(Consumer<AutoStartConfig.Builder> autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
Application.Builder |
autoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
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 |
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 |
maximumCapacity(Consumer<MaximumAllowedResources.Builder> maximumCapacity)
The maximum capacity of the application.
|
Application.Builder |
maximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity of the application.
|
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 |
state(ApplicationState state)
The state of the application.
|
Application.Builder |
state(String 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Application.Builder applicationId(String applicationId)
The ID of the application.
applicationId
- The ID of the application.Application.Builder name(String name)
The name of the application.
name
- The name of the application.Application.Builder arn(String arn)
The ARN of the application.
arn
- The ARN of the application.Application.Builder releaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.
releaseLabel
- The Amazon EMR release associated with the application.Application.Builder type(String type)
The type of application, such as Spark or Hive.
type
- The type of application, such as Spark or Hive.Application.Builder state(String state)
The state of the application.
state
- The state of the application.ApplicationState
,
ApplicationState
Application.Builder state(ApplicationState state)
The state of the application.
state
- The state of the application.ApplicationState
,
ApplicationState
Application.Builder stateDetails(String stateDetails)
The state details of the application.
stateDetails
- The state details of the application.Application.Builder initialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.
initialCapacity
- The initial capacity of the application.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.
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.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 via MaximumAllowedResources.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to maximumCapacity(MaximumAllowedResources)
.
maximumCapacity
- a consumer that will call methods on MaximumAllowedResources.Builder
maximumCapacity(MaximumAllowedResources)
Application.Builder createdAt(Instant createdAt)
The date and time when the application run was created.
createdAt
- The date and time when the application run was created.Application.Builder updatedAt(Instant updatedAt)
The date and time when the application run was last updated.
updatedAt
- The date and time when the application run was last updated.Application.Builder tags(Map<String,String> tags)
The tags assigned to the application.
tags
- The tags assigned to the application.Application.Builder autoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
autoStartConfiguration
- The configuration for an application to automatically start on job submission.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 via AutoStartConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to autoStartConfiguration(AutoStartConfig)
.
autoStartConfiguration
- a consumer that will call methods on AutoStartConfig.Builder
autoStartConfiguration(AutoStartConfig)
Application.Builder autoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
autoStopConfiguration
- The configuration for an application to automatically stop after a certain amount of time being idle.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 via AutoStopConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to autoStopConfiguration(AutoStopConfig)
.
autoStopConfiguration
- a consumer that will call methods on AutoStopConfig.Builder
autoStopConfiguration(AutoStopConfig)
Application.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity for the application.
networkConfiguration
- The network configuration for customer VPC connectivity for the application.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 via NetworkConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to networkConfiguration(NetworkConfiguration)
.
networkConfiguration
- a consumer that will call methods on NetworkConfiguration.Builder
networkConfiguration(NetworkConfiguration)
Application.Builder architecture(String architecture)
The CPU architecture of an application.
architecture
- The CPU architecture of an application.Architecture
,
Architecture
Application.Builder architecture(Architecture architecture)
The CPU architecture of an application.
architecture
- The CPU architecture of an application.Architecture
,
Architecture
Application.Builder imageConfiguration(ImageConfiguration imageConfiguration)
The image configuration applied to all worker types.
imageConfiguration
- The image configuration applied to all worker types.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 via ImageConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to imageConfiguration(ImageConfiguration)
.
imageConfiguration
- a consumer that will call methods on ImageConfiguration.Builder
imageConfiguration(ImageConfiguration)
Application.Builder workerTypeSpecifications(Map<String,WorkerTypeSpecification> workerTypeSpecifications)
The specification applied to each worker type.
workerTypeSpecifications
- The specification applied to each worker type.Copyright © 2023. All rights reserved.