@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest |
addInitialCapacityEntry(String key,
InitialCapacityConfig value)
Add a single InitialCapacity entry
|
CreateApplicationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateApplicationRequest |
clearInitialCapacityEntries()
Removes all the entries added into InitialCapacity.
|
CreateApplicationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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.
|
String |
getClientToken()
The client idempotency token of the application to create.
|
Map<String,InitialCapacityConfig> |
getInitialCapacity()
The capacity to initialize when the application is created.
|
MaximumAllowedResources |
getMaximumCapacity()
The maximum capacity to allocate when the application is created.
|
String |
getName()
The name of the application.
|
NetworkConfiguration |
getNetworkConfiguration()
The network configuration for customer VPC connectivity.
|
String |
getReleaseLabel()
The EMR release version associated with the application.
|
Map<String,String> |
getTags()
The tags assigned to the application.
|
String |
getType()
The type of application you want to start, such as Spark or Hive.
|
int |
hashCode() |
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 |
setClientToken(String clientToken)
The client idempotency token of the application to create.
|
void |
setInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is created.
|
void |
setMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is created.
|
void |
setName(String name)
The name of the application.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity.
|
void |
setReleaseLabel(String releaseLabel)
The EMR release version associated with the application.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the application.
|
void |
setType(String type)
The type of application you want to start, such as Spark or Hive.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withAutoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
CreateApplicationRequest |
withAutoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
CreateApplicationRequest |
withClientToken(String clientToken)
The client idempotency token of the application to create.
|
CreateApplicationRequest |
withInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is created.
|
CreateApplicationRequest |
withMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is created.
|
CreateApplicationRequest |
withName(String name)
The name of the application.
|
CreateApplicationRequest |
withNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity.
|
CreateApplicationRequest |
withReleaseLabel(String releaseLabel)
The EMR release version associated with the application.
|
CreateApplicationRequest |
withTags(Map<String,String> tags)
The tags assigned to the application.
|
CreateApplicationRequest |
withType(String type)
The type of application you want to start, such as Spark or Hive.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateApplicationRequest withName(String name)
The name of the application.
name
- The name 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 CreateApplicationRequest 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 you want to start, such as Spark or Hive.
type
- The type of application you want to start, such as Spark or Hive.public String getType()
The type of application you want to start, such as Spark or Hive.
public CreateApplicationRequest withType(String type)
The type of application you want to start, such as Spark or Hive.
type
- The type of application you want to start, such as Spark or Hive.public void setClientToken(String clientToken)
The client idempotency token of the application to create. Its value must be unique for each request.
clientToken
- The client idempotency token of the application to create. Its value must be unique for each request.public String getClientToken()
The client idempotency token of the application to create. Its value must be unique for each request.
public CreateApplicationRequest withClientToken(String clientToken)
The client idempotency token of the application to create. Its value must be unique for each request.
clientToken
- The client idempotency token of the application to create. Its value must be unique for each request.public Map<String,InitialCapacityConfig> getInitialCapacity()
The capacity to initialize when the application is created.
public void setInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is created.
initialCapacity
- The capacity to initialize when the application is created.public CreateApplicationRequest withInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is created.
initialCapacity
- The capacity to initialize when the application is created.public CreateApplicationRequest addInitialCapacityEntry(String key, InitialCapacityConfig value)
public CreateApplicationRequest clearInitialCapacityEntries()
public void setMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
maximumCapacity
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at
any given point in time, not just when an application is created. No new resources will be created once
any one of the defined limits is hit.public MaximumAllowedResources getMaximumCapacity()
The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
public CreateApplicationRequest withMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
maximumCapacity
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at
any given point in time, not just when an application is created. No new resources will be created once
any one of the defined limits is hit.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 CreateApplicationRequest withTags(Map<String,String> tags)
The tags assigned to the application.
tags
- The tags assigned to the application.public CreateApplicationRequest addTagsEntry(String key, String value)
public CreateApplicationRequest 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 CreateApplicationRequest 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 CreateApplicationRequest 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.
networkConfiguration
- The network configuration for customer VPC connectivity.public NetworkConfiguration getNetworkConfiguration()
The network configuration for customer VPC connectivity.
public CreateApplicationRequest withNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for customer VPC connectivity.
networkConfiguration
- The network configuration for customer VPC connectivity.public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()