@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateComputeEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateComputeEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateComputeEnvironmentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getComputeEnvironment()
The name or full Amazon Resource Name (ARN) of the compute environment to update.
|
ComputeResourceUpdate |
getComputeResources()
Details of the compute resources managed by the compute environment.
|
String |
getServiceRole()
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto
Scaling, and EC2 on your behalf.
|
String |
getState()
The state of the compute environment.
|
int |
hashCode() |
void |
setComputeEnvironment(String computeEnvironment)
The name or full Amazon Resource Name (ARN) of the compute environment to update.
|
void |
setComputeResources(ComputeResourceUpdate computeResources)
Details of the compute resources managed by the compute environment.
|
void |
setServiceRole(String serviceRole)
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto
Scaling, and EC2 on your behalf.
|
void |
setState(CEState state)
The state of the compute environment.
|
void |
setState(String state)
The state of the compute environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateComputeEnvironmentRequest |
withComputeEnvironment(String computeEnvironment)
The name or full Amazon Resource Name (ARN) of the compute environment to update.
|
UpdateComputeEnvironmentRequest |
withComputeResources(ComputeResourceUpdate computeResources)
Details of the compute resources managed by the compute environment.
|
UpdateComputeEnvironmentRequest |
withServiceRole(String serviceRole)
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto
Scaling, and EC2 on your behalf.
|
UpdateComputeEnvironmentRequest |
withState(CEState state)
The state of the compute environment.
|
UpdateComputeEnvironmentRequest |
withState(String state)
The state of the compute environment.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setComputeEnvironment(String computeEnvironment)
The name or full Amazon Resource Name (ARN) of the compute environment to update.
computeEnvironment
- The name or full Amazon Resource Name (ARN) of the compute environment to update.public String getComputeEnvironment()
The name or full Amazon Resource Name (ARN) of the compute environment to update.
public UpdateComputeEnvironmentRequest withComputeEnvironment(String computeEnvironment)
The name or full Amazon Resource Name (ARN) of the compute environment to update.
computeEnvironment
- The name or full Amazon Resource Name (ARN) of the compute environment to update.public void setState(String state)
The state of the compute environment. Compute environments in the ENABLED
state can accept jobs from
a queue and scale in or out automatically based on the workload demand of its associated queues.
state
- The state of the compute environment. Compute environments in the ENABLED
state can accept
jobs from a queue and scale in or out automatically based on the workload demand of its associated queues.CEState
public String getState()
The state of the compute environment. Compute environments in the ENABLED
state can accept jobs from
a queue and scale in or out automatically based on the workload demand of its associated queues.
ENABLED
state can accept
jobs from a queue and scale in or out automatically based on the workload demand of its associated
queues.CEState
public UpdateComputeEnvironmentRequest withState(String state)
The state of the compute environment. Compute environments in the ENABLED
state can accept jobs from
a queue and scale in or out automatically based on the workload demand of its associated queues.
state
- The state of the compute environment. Compute environments in the ENABLED
state can accept
jobs from a queue and scale in or out automatically based on the workload demand of its associated queues.CEState
public void setState(CEState state)
The state of the compute environment. Compute environments in the ENABLED
state can accept jobs from
a queue and scale in or out automatically based on the workload demand of its associated queues.
state
- The state of the compute environment. Compute environments in the ENABLED
state can accept
jobs from a queue and scale in or out automatically based on the workload demand of its associated queues.CEState
public UpdateComputeEnvironmentRequest withState(CEState state)
The state of the compute environment. Compute environments in the ENABLED
state can accept jobs from
a queue and scale in or out automatically based on the workload demand of its associated queues.
state
- The state of the compute environment. Compute environments in the ENABLED
state can accept
jobs from a queue and scale in or out automatically based on the workload demand of its associated queues.CEState
public void setComputeResources(ComputeResourceUpdate computeResources)
Details of the compute resources managed by the compute environment. Required for a managed compute environment.
computeResources
- Details of the compute resources managed by the compute environment. Required for a managed compute
environment.public ComputeResourceUpdate getComputeResources()
Details of the compute resources managed by the compute environment. Required for a managed compute environment.
public UpdateComputeEnvironmentRequest withComputeResources(ComputeResourceUpdate computeResources)
Details of the compute resources managed by the compute environment. Required for a managed compute environment.
computeResources
- Details of the compute resources managed by the compute environment. Required for a managed compute
environment.public void setServiceRole(String serviceRole)
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto Scaling, and EC2 on your behalf.
serviceRole
- The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS,
Auto Scaling, and EC2 on your behalf.public String getServiceRole()
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto Scaling, and EC2 on your behalf.
public UpdateComputeEnvironmentRequest withServiceRole(String serviceRole)
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto Scaling, and EC2 on your behalf.
serviceRole
- The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS,
Auto Scaling, and EC2 on your behalf.public String toString()
toString
in class Object
Object.toString()
public UpdateComputeEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.