@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 |
addWorkerTypeSpecificationsEntry(String key,
WorkerTypeSpecificationInput value)
Add a single WorkerTypeSpecifications entry
|
UpdateApplicationRequest |
clearInitialCapacityEntries()
Removes all the entries added into InitialCapacity.
|
UpdateApplicationRequest |
clearWorkerTypeSpecificationsEntries()
Removes all the entries added into WorkerTypeSpecifications.
|
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.
|
String |
getArchitecture()
The CPU architecture of an 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.
|
String |
getClientToken()
The client idempotency token of the application to update.
|
ImageConfigurationInput |
getImageConfiguration()
The image configuration to be used for all worker types.
|
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() |
Map<String,WorkerTypeSpecificationInput> |
getWorkerTypeSpecifications()
The key-value pairs that specify worker type to
WorkerTypeSpecificationInput . |
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application to update.
|
void |
setArchitecture(String architecture)
The CPU architecture of an 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 |
setClientToken(String clientToken)
The client idempotency token of the application to update.
|
void |
setImageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration to be used for all worker types.
|
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) |
void |
setWorkerTypeSpecifications(Map<String,WorkerTypeSpecificationInput> workerTypeSpecifications)
The key-value pairs that specify worker type to
WorkerTypeSpecificationInput . |
String |
toString()
Returns a string representation of this object.
|
UpdateApplicationRequest |
withApplicationId(String applicationId)
The ID of the application to update.
|
UpdateApplicationRequest |
withArchitecture(Architecture architecture)
The CPU architecture of an application.
|
UpdateApplicationRequest |
withArchitecture(String architecture)
The CPU architecture of an application.
|
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 |
withImageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration to be used for all worker types.
|
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) |
UpdateApplicationRequest |
withWorkerTypeSpecifications(Map<String,WorkerTypeSpecificationInput> workerTypeSpecifications)
The key-value pairs that specify worker type to
WorkerTypeSpecificationInput . |
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 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 UpdateApplicationRequest withArchitecture(String architecture)
The CPU architecture of an application.
architecture
- The CPU architecture of an application.Architecture
public UpdateApplicationRequest withArchitecture(Architecture architecture)
The CPU architecture of an application.
architecture
- The CPU architecture of an application.Architecture
public void setImageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration
for each worker type in WorkerTypeSpecificationInput
.
imageConfiguration
- The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration
for each worker type in WorkerTypeSpecificationInput
.public ImageConfigurationInput getImageConfiguration()
The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration
for each worker type in WorkerTypeSpecificationInput
.
imageConfiguration
for each worker type in WorkerTypeSpecificationInput
.public UpdateApplicationRequest withImageConfiguration(ImageConfigurationInput imageConfiguration)
The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration
for each worker type in WorkerTypeSpecificationInput
.
imageConfiguration
- The image configuration to be used for all worker types. You can either set this parameter or
imageConfiguration
for each worker type in WorkerTypeSpecificationInput
.public Map<String,WorkerTypeSpecificationInput> getWorkerTypeSpecifications()
The key-value pairs that specify worker type to WorkerTypeSpecificationInput
. This parameter must
contain all valid worker types for a Spark or Hive application. Valid worker types include Driver
and Executor
for Spark applications and HiveDriver
and TezTask
for Hive
applications. You can either set image details in this parameter for each worker type, or in
imageConfiguration
for all worker types.
WorkerTypeSpecificationInput
. This parameter
must contain all valid worker types for a Spark or Hive application. Valid worker types include
Driver
and Executor
for Spark applications and HiveDriver
and
TezTask
for Hive applications. You can either set image details in this parameter for each
worker type, or in imageConfiguration
for all worker types.public void setWorkerTypeSpecifications(Map<String,WorkerTypeSpecificationInput> workerTypeSpecifications)
The key-value pairs that specify worker type to WorkerTypeSpecificationInput
. This parameter must
contain all valid worker types for a Spark or Hive application. Valid worker types include Driver
and Executor
for Spark applications and HiveDriver
and TezTask
for Hive
applications. You can either set image details in this parameter for each worker type, or in
imageConfiguration
for all worker types.
workerTypeSpecifications
- The key-value pairs that specify worker type to WorkerTypeSpecificationInput
. This parameter
must contain all valid worker types for a Spark or Hive application. Valid worker types include
Driver
and Executor
for Spark applications and HiveDriver
and
TezTask
for Hive applications. You can either set image details in this parameter for each
worker type, or in imageConfiguration
for all worker types.public UpdateApplicationRequest withWorkerTypeSpecifications(Map<String,WorkerTypeSpecificationInput> workerTypeSpecifications)
The key-value pairs that specify worker type to WorkerTypeSpecificationInput
. This parameter must
contain all valid worker types for a Spark or Hive application. Valid worker types include Driver
and Executor
for Spark applications and HiveDriver
and TezTask
for Hive
applications. You can either set image details in this parameter for each worker type, or in
imageConfiguration
for all worker types.
workerTypeSpecifications
- The key-value pairs that specify worker type to WorkerTypeSpecificationInput
. This parameter
must contain all valid worker types for a Spark or Hive application. Valid worker types include
Driver
and Executor
for Spark applications and HiveDriver
and
TezTask
for Hive applications. You can either set image details in this parameter for each
worker type, or in imageConfiguration
for all worker types.public UpdateApplicationRequest addWorkerTypeSpecificationsEntry(String key, WorkerTypeSpecificationInput value)
public UpdateApplicationRequest clearWorkerTypeSpecificationsEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()