@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateApplicationRequest |
addInitialCapacityEntry(String key,
InitialCapacityConfig value)
Add a single InitialCapacity entry
|
UpdateApplicationRequest |
clearInitialCapacityEntries()
Removes all the entries added into InitialCapacity.
|
UpdateApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application to update.
|
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 update.
|
Map<String,InitialCapacityConfig> |
getInitialCapacity()
The capacity to initialize when the application is updated.
|
MaximumAllowedResources |
getMaximumCapacity()
The maximum capacity to allocate when the application is updated.
|
NetworkConfiguration |
getNetworkConfiguration() |
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application to update.
|
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 update.
|
void |
setInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is updated.
|
void |
setMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is updated.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration) |
String |
toString()
Returns a string representation of this object.
|
UpdateApplicationRequest |
withApplicationId(String applicationId)
The ID of the application to update.
|
UpdateApplicationRequest |
withAutoStartConfiguration(AutoStartConfig autoStartConfiguration)
The configuration for an application to automatically start on job submission.
|
UpdateApplicationRequest |
withAutoStopConfiguration(AutoStopConfig autoStopConfiguration)
The configuration for an application to automatically stop after a certain amount of time being idle.
|
UpdateApplicationRequest |
withClientToken(String clientToken)
The client idempotency token of the application to update.
|
UpdateApplicationRequest |
withInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is updated.
|
UpdateApplicationRequest |
withMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is updated.
|
UpdateApplicationRequest |
withNetworkConfiguration(NetworkConfiguration networkConfiguration) |
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 setApplicationId(String applicationId)
The ID of the application to update.
applicationId
- The ID of the application to update.public String getApplicationId()
The ID of the application to update.
public UpdateApplicationRequest withApplicationId(String applicationId)
The ID of the application to update.
applicationId
- The ID of the application to update.public void setClientToken(String clientToken)
The client idempotency token of the application to update. Its value must be unique for each request.
clientToken
- The client idempotency token of the application to update. Its value must be unique for each request.public String getClientToken()
The client idempotency token of the application to update. Its value must be unique for each request.
public UpdateApplicationRequest withClientToken(String clientToken)
The client idempotency token of the application to update. Its value must be unique for each request.
clientToken
- The client idempotency token of the application to update. Its value must be unique for each request.public Map<String,InitialCapacityConfig> getInitialCapacity()
The capacity to initialize when the application is updated.
public void setInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is updated.
initialCapacity
- The capacity to initialize when the application is updated.public UpdateApplicationRequest withInitialCapacity(Map<String,InitialCapacityConfig> initialCapacity)
The capacity to initialize when the application is updated.
initialCapacity
- The capacity to initialize when the application is updated.public UpdateApplicationRequest addInitialCapacityEntry(String key, InitialCapacityConfig value)
public UpdateApplicationRequest clearInitialCapacityEntries()
public void setMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. 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 updated. This is cumulative across all workers at
any given point in time during the lifespan of the application. 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 updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.
public UpdateApplicationRequest withMaximumCapacity(MaximumAllowedResources maximumCapacity)
The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. 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 updated. This is cumulative across all workers at
any given point in time during the lifespan of the application. No new resources will be created once any
one of the defined limits is hit.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 UpdateApplicationRequest 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 UpdateApplicationRequest 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)
networkConfiguration
- public NetworkConfiguration getNetworkConfiguration()
public UpdateApplicationRequest withNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration
- public String toString()
toString
in class Object
Object.toString()
public UpdateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()