@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Application extends Object implements Serializable, Cloneable, StructuredPojo
Information about an application. 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 |
clearInitialCapacityEntries()
Removes all the entries added into InitialCapacity.
|
Application |
clearTagsEntries()
Removes all the entries added into Tags.
|
Application |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the 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.
|
Map<String,InitialCapacityConfig> |
getInitialCapacity()
The initial capacity of the application.
|
MaximumAllowedResources |
getMaximumCapacity()
The maximum capacity of the application.
|
String |
getName()
The name of the application.
|
NetworkConfiguration |
getNetworkConfiguration()
The network configuration for customer VPC connectivity for the application.
|
String |
getReleaseLabel()
The EMR release version associated with the 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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The ID of the 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 |
setInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.
|
void |
setMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity of the application.
|
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 EMR release version associated with the 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.
|
String |
toString()
Returns a string representation of this object.
|
Application |
withApplicationId(String applicationId)
The ID of the 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 |
withInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The initial capacity of the application.
|
Application |
withMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity of the application.
|
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 EMR release version associated with the 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.
|
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 EMR release version associated with the application.
releaseLabel
- The EMR release version associated with the application.public String getReleaseLabel()
The EMR release version associated with the application.
public Application withReleaseLabel(String releaseLabel)
The EMR release version associated with the application.
releaseLabel
- The EMR release version 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 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.