@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 object for all fields except the handler context.
|
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 full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services 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 full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services 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 full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on
your behalf.
|
UpdateComputeEnvironmentRequest |
withState(CEState state)
The state of the compute environment.
|
UpdateComputeEnvironmentRequest |
withState(String state)
The state of the compute environment.
|
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 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 full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
If your specified role has a path other than /
, then you must either specify the full role ARN (this
is recommended) or prefix the role name with the path.
Depending on how you created your AWS Batch service role, its ARN may contain the service-role
path
prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the
service-role
path prefix. Because of this, we recommend that you specify the full ARN of your
service role when you create compute environments.
serviceRole
- The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS
services on your behalf.
If your specified role has a path other than /
, then you must either specify the full role
ARN (this is recommended) or prefix the role name with the path.
Depending on how you created your AWS Batch service role, its ARN may contain the
service-role
path prefix. When you only specify the name of the service role, AWS Batch
assumes that your ARN does not use the service-role
path prefix. Because of this, we
recommend that you specify the full ARN of your service role when you create compute environments.
public String getServiceRole()
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
If your specified role has a path other than /
, then you must either specify the full role ARN (this
is recommended) or prefix the role name with the path.
Depending on how you created your AWS Batch service role, its ARN may contain the service-role
path
prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the
service-role
path prefix. Because of this, we recommend that you specify the full ARN of your
service role when you create compute environments.
If your specified role has a path other than /
, then you must either specify the full role
ARN (this is recommended) or prefix the role name with the path.
Depending on how you created your AWS Batch service role, its ARN may contain the
service-role
path prefix. When you only specify the name of the service role, AWS Batch
assumes that your ARN does not use the service-role
path prefix. Because of this, we
recommend that you specify the full ARN of your service role when you create compute environments.
public UpdateComputeEnvironmentRequest withServiceRole(String serviceRole)
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
If your specified role has a path other than /
, then you must either specify the full role ARN (this
is recommended) or prefix the role name with the path.
Depending on how you created your AWS Batch service role, its ARN may contain the service-role
path
prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the
service-role
path prefix. Because of this, we recommend that you specify the full ARN of your
service role when you create compute environments.
serviceRole
- The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS
services on your behalf.
If your specified role has a path other than /
, then you must either specify the full role
ARN (this is recommended) or prefix the role name with the path.
Depending on how you created your AWS Batch service role, its ARN may contain the
service-role
path prefix. When you only specify the name of the service role, AWS Batch
assumes that your ARN does not use the service-role
path prefix. Because of this, we
recommend that you specify the full ARN of your service role when you create compute environments.
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.