@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Application extends Object implements Serializable, Cloneable, StructuredPojo
Information about an application. Amazon EMR Serverless uses applications to run jobs.
Constructor and Description |
---|
Application() |
Modifier and Type | Method and Description |
---|---|
Application |
addInitialCapacityEntry(String key,
InitialCapacityConfig value)
Add a single InitialCapacity entry
|
Application |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Application |
addWorkerTypeSpecificationsEntry(String key,
WorkerTypeSpecification value)
Add a single WorkerTypeSpecifications entry
|
Application |
clearInitialCapacityEntries()
Removes all the entries added into InitialCapacity.
|
Application |
clearTagsEntries()
Removes all the entries added into Tags.
|
Application |
clearWorkerTypeSpecificationsEntries()
Removes all the entries added into WorkerTypeSpecifications.
|
Application |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application.
|
String |
getArchitecture()
The CPU architecture of an application.
|
String |
getArn()
The ARN of the application.
|
AutoStartConfig |
getAutoStartConfiguration()
The configuration for an application to automatically start on job submission.
|
AutoStopConfig |
getAutoStopConfiguration()
The configuration for an application to automatically stop after a certain amount of time being idle.
|
Date |
getCreatedAt()
The date and time when the application run was created.
|
ImageConfiguration |
getImageConfiguration()
The image configuration applied to all worker types.
|
Map<String,InitialCapacityConfig> |
getInitialCapacity()
The initial capacity of the application.
|
InteractiveConfiguration |
getInteractiveConfiguration()
The interactive configuration object that enables the interactive use cases for an application.
|
MaximumAllowedResources |
getMaximumCapacity()
The maximum capacity of the application.
|
MonitoringConfiguration |
getMonitoringConfiguration() |
String |
getName()
The name of the application.
|
NetworkConfiguration |
getNetworkConfiguration()
The network configuration for customer VPC connectivity for the application.
|
String |
getReleaseLabel()
The Amazon EMR release associated with the application.
|
List<Configuration> |
getRuntimeConfiguration()
The Configuration
specifications of an application.
|
String |
getState()
The state of the application.
|
String |
getStateDetails()
The state details of the application.
|
Map<String,String> |
getTags()
The tags assigned to the application.
|
String |
getType()
The type of application, such as Spark or Hive.
|
Date |
getUpdatedAt()
The date and time when the application run was last updated.
|
Map<String,WorkerTypeSpecification> |
getWorkerTypeSpecifications()
The specification applied to each worker type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The ID of the application.
|
void |
setArchitecture(String architecture)
The CPU architecture of an application.
|
void |
setArn(String arn)
The ARN of the application.
|
void |
setAutoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
void |
setAutoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
void |
setCreatedAt(Date createdAt)
The date and time when the application run was created.
|
void |
setImageConfiguration(ImageConfiguration imageConfiguration)
The image configuration applied to all worker types.
|
void |
setInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.
|
void |
setInteractiveConfiguration(InteractiveConfiguration interactiveConfiguration)
The interactive configuration object that enables the interactive use cases for an application.
|
void |
setMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity of the application.
|
void |
setMonitoringConfiguration(MonitoringConfiguration monitoringConfiguration) |
void |
setName(String name)
The name of the application.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity for the application.
|
void |
setReleaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.
|
void |
setRuntimeConfiguration(Collection<Configuration> runtimeConfiguration)
The Configuration
specifications of an application.
|
void |
setState(String state)
The state of the application.
|
void |
setStateDetails(String stateDetails)
The state details of the application.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the application.
|
void |
setType(String type)
The type of application, such as Spark or Hive.
|
void |
setUpdatedAt(Date updatedAt)
The date and time when the application run was last updated.
|
void |
setWorkerTypeSpecifications(Map<String,WorkerTypeSpecification> workerTypeSpecifications)
The specification applied to each worker type.
|
String |
toString()
Returns a string representation of this object.
|
Application |
withApplicationId(String applicationId)
The ID of the application.
|
Application |
withArchitecture(Architecture architecture)
The CPU architecture of an application.
|
Application |
withArchitecture(String architecture)
The CPU architecture of an application.
|
Application |
withArn(String arn)
The ARN of the application.
|
Application |
withAutoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
Application |
withAutoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
Application |
withCreatedAt(Date createdAt)
The date and time when the application run was created.
|
Application |
withImageConfiguration(ImageConfiguration imageConfiguration)
The image configuration applied to all worker types.
|
Application |
withInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.
|
Application |
withInteractiveConfiguration(InteractiveConfiguration interactiveConfiguration)
The interactive configuration object that enables the interactive use cases for an application.
|
Application |
withMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity of the application.
|
Application |
withMonitoringConfiguration(MonitoringConfiguration monitoringConfiguration) |
Application |
withName(String name)
The name of the application.
|
Application |
withNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity for the application.
|
Application |
withReleaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.
|
Application |
withRuntimeConfiguration(Collection<Configuration> runtimeConfiguration)
The Configuration
specifications of an application.
|
Application |
withRuntimeConfiguration(Configuration... runtimeConfiguration)
The Configuration
specifications of an application.
|
Application |
withState(ApplicationState state)
The state of the application.
|
Application |
withState(String state)
The state of the application.
|
Application |
withStateDetails(String stateDetails)
The state details of the application.
|
Application |
withTags(Map<String,String> tags)
The tags assigned to the application.
|
Application |
withType(String type)
The type of application, such as Spark or Hive.
|
Application |
withUpdatedAt(Date updatedAt)
The date and time when the application run was last updated.
|
Application |
withWorkerTypeSpecifications(Map<String,WorkerTypeSpecification> workerTypeSpecifications)
The specification applied to each worker type.
|
public void setApplicationId(String applicationId)
The ID of the application.
applicationId
- The ID of the application.public String getApplicationId()
The ID of the application.
public Application withApplicationId(String applicationId)
The ID of the application.
applicationId
- The ID of the application.public void setName(String name)
The name of the application.
name
- The name of the application.public String getName()
The name of the application.
public Application withName(String name)
The name of the application.
name
- The name of the application.public void setArn(String arn)
The ARN of the application.
arn
- The ARN of the application.public String getArn()
The ARN of the application.
public Application withArn(String arn)
The ARN of the application.
arn
- The ARN of the application.public void setReleaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.
releaseLabel
- The Amazon EMR release associated with the application.public String getReleaseLabel()
The Amazon EMR release associated with the application.
public Application withReleaseLabel(String releaseLabel)
The Amazon EMR release associated with the application.
releaseLabel
- The Amazon EMR release associated with the application.public void setType(String type)
The type of application, such as Spark or Hive.
type
- The type of application, such as Spark or Hive.public String getType()
The type of application, such as Spark or Hive.
public Application withType(String type)
The type of application, such as Spark or Hive.
type
- The type of application, such as Spark or Hive.public void setState(String state)
The state of the application.
state
- The state of the application.ApplicationState
public String getState()
The state of the application.
ApplicationState
public Application withState(String state)
The state of the application.
state
- The state of the application.ApplicationState
public Application withState(ApplicationState state)
The state of the application.
state
- The state of the application.ApplicationState
public void setStateDetails(String stateDetails)
The state details of the application.
stateDetails
- The state details of the application.public String getStateDetails()
The state details of the application.
public Application withStateDetails(String stateDetails)
The state details of the application.
stateDetails
- The state details of the application.public Map<String,InitialCapacityConfig> getInitialCapacity()
The initial capacity of the application.
public void setInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.
initialCapacity
- The initial capacity of the application.public Application withInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.
initialCapacity
- The initial capacity of the application.public Application addInitialCapacityEntry(String key, InitialCapacityConfig value)
public Application clearInitialCapacityEntries()
public void setMaximumCapacity(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.public MaximumAllowedResources getMaximumCapacity()
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.
public Application withMaximumCapacity(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.public void setCreatedAt(Date createdAt)
The date and time when the application run was created.
createdAt
- The date and time when the application run was created.public Date getCreatedAt()
The date and time when the application run was created.
public Application withCreatedAt(Date createdAt)
The date and time when the application run was created.
createdAt
- The date and time when the application run was created.public void setUpdatedAt(Date updatedAt)
The date and time when the application run was last updated.
updatedAt
- The date and time when the application run was last updated.public Date getUpdatedAt()
The date and time when the application run was last updated.
public Application withUpdatedAt(Date updatedAt)
The date and time when the application run was last updated.
updatedAt
- The date and time when the application run was last updated.public Map<String,String> getTags()
The tags assigned to the application.
public void setTags(Map<String,String> tags)
The tags assigned to the application.
tags
- The tags assigned to the application.public Application withTags(Map<String,String> tags)
The tags assigned to the application.
tags
- The tags assigned to the application.public Application addTagsEntry(String key, String value)
public Application clearTagsEntries()
public void setAutoStartConfiguration(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.public AutoStartConfig getAutoStartConfiguration()
The configuration for an application to automatically start on job submission.
public Application withAutoStartConfiguration(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.public void setAutoStopConfiguration(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.public AutoStopConfig getAutoStopConfiguration()
The configuration for an application to automatically stop after a certain amount of time being idle.
public Application withAutoStopConfiguration(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.public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity for the application.
networkConfiguration
- The network configuration for customer VPC connectivity for the application.public NetworkConfiguration getNetworkConfiguration()
The network configuration for customer VPC connectivity for the application.
public Application withNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity for the application.
networkConfiguration
- The network configuration for customer VPC connectivity for the application.public void setArchitecture(String architecture)
The CPU architecture of an application.
architecture
- The CPU architecture of an application.Architecture
public String getArchitecture()
The CPU architecture of an application.
Architecture
public Application withArchitecture(String architecture)
The CPU architecture of an application.
architecture
- The CPU architecture of an application.Architecture
public Application withArchitecture(Architecture architecture)
The CPU architecture of an application.
architecture
- The CPU architecture of an application.Architecture
public void setImageConfiguration(ImageConfiguration imageConfiguration)
The image configuration applied to all worker types.
imageConfiguration
- The image configuration applied to all worker types.public ImageConfiguration getImageConfiguration()
The image configuration applied to all worker types.
public Application withImageConfiguration(ImageConfiguration imageConfiguration)
The image configuration applied to all worker types.
imageConfiguration
- The image configuration applied to all worker types.public Map<String,WorkerTypeSpecification> getWorkerTypeSpecifications()
The specification applied to each worker type.
public void setWorkerTypeSpecifications(Map<String,WorkerTypeSpecification> workerTypeSpecifications)
The specification applied to each worker type.
workerTypeSpecifications
- The specification applied to each worker type.public Application withWorkerTypeSpecifications(Map<String,WorkerTypeSpecification> workerTypeSpecifications)
The specification applied to each worker type.
workerTypeSpecifications
- The specification applied to each worker type.public Application addWorkerTypeSpecificationsEntry(String key, WorkerTypeSpecification value)
public Application clearWorkerTypeSpecificationsEntries()
public List<Configuration> getRuntimeConfiguration()
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.
public void setRuntimeConfiguration(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.
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.public Application withRuntimeConfiguration(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.
NOTE: This method appends the values to the existing list (if any). Use
setRuntimeConfiguration(java.util.Collection)
or withRuntimeConfiguration(java.util.Collection)
if you want to override the existing values.
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.public Application withRuntimeConfiguration(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.
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.public void setMonitoringConfiguration(MonitoringConfiguration monitoringConfiguration)
monitoringConfiguration
- public MonitoringConfiguration getMonitoringConfiguration()
public Application withMonitoringConfiguration(MonitoringConfiguration monitoringConfiguration)
monitoringConfiguration
- public void setInteractiveConfiguration(InteractiveConfiguration interactiveConfiguration)
The interactive configuration object that enables the interactive use cases for an application.
interactiveConfiguration
- The interactive configuration object that enables the interactive use cases for an application.public InteractiveConfiguration getInteractiveConfiguration()
The interactive configuration object that enables the interactive use cases for an application.
public Application withInteractiveConfiguration(InteractiveConfiguration interactiveConfiguration)
The interactive configuration object that enables the interactive use cases for an application.
interactiveConfiguration
- The interactive configuration object that enables the interactive use cases for an application.public String toString()
toString
in class Object
Object.toString()
public Application clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.