@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateComputeEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateComputeEnvironmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateComputeEnvironmentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getComputeEnvironmentName()
The name for your compute environment.
|
ComputeResource |
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.
|
String |
getType()
The type of the compute environment.
|
int |
hashCode() |
void |
setComputeEnvironmentName(String computeEnvironmentName)
The name for your compute environment.
|
void |
setComputeResources(ComputeResource 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.
|
void |
setType(CEType type)
The type of the compute environment.
|
void |
setType(String type)
The type of the compute environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateComputeEnvironmentRequest |
withComputeEnvironmentName(String computeEnvironmentName)
The name for your compute environment.
|
CreateComputeEnvironmentRequest |
withComputeResources(ComputeResource computeResources)
Details of the compute resources managed by the compute environment.
|
CreateComputeEnvironmentRequest |
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.
|
CreateComputeEnvironmentRequest |
withState(CEState state)
The state of the compute environment.
|
CreateComputeEnvironmentRequest |
withState(String state)
The state of the compute environment.
|
CreateComputeEnvironmentRequest |
withType(CEType type)
The type of the compute environment.
|
CreateComputeEnvironmentRequest |
withType(String type)
The type 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, withSdkRequestTimeoutpublic void setComputeEnvironmentName(String computeEnvironmentName)
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
computeEnvironmentName - The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and
underscores are allowed.public String getComputeEnvironmentName()
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
public CreateComputeEnvironmentRequest withComputeEnvironmentName(String computeEnvironmentName)
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
computeEnvironmentName - The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and
underscores are allowed.public void setType(String type)
The type of the compute environment.
type - The type of the compute environment.CETypepublic String getType()
The type of the compute environment.
CETypepublic CreateComputeEnvironmentRequest withType(String type)
The type of the compute environment.
type - The type of the compute environment.CETypepublic void setType(CEType type)
The type of the compute environment.
type - The type of the compute environment.CETypepublic CreateComputeEnvironmentRequest withType(CEType type)
The type of the compute environment.
type - The type of the compute environment.CETypepublic void setState(String state)
The state of the compute environment. If the state is ENABLED, then the compute environment accepts
jobs from a queue and can scale out automatically based on queues.
state - The state of the compute environment. If the state is ENABLED, then the compute environment
accepts jobs from a queue and can scale out automatically based on queues.CEStatepublic String getState()
The state of the compute environment. If the state is ENABLED, then the compute environment accepts
jobs from a queue and can scale out automatically based on queues.
ENABLED, then the compute environment
accepts jobs from a queue and can scale out automatically based on queues.CEStatepublic CreateComputeEnvironmentRequest withState(String state)
The state of the compute environment. If the state is ENABLED, then the compute environment accepts
jobs from a queue and can scale out automatically based on queues.
state - The state of the compute environment. If the state is ENABLED, then the compute environment
accepts jobs from a queue and can scale out automatically based on queues.CEStatepublic void setState(CEState state)
The state of the compute environment. If the state is ENABLED, then the compute environment accepts
jobs from a queue and can scale out automatically based on queues.
state - The state of the compute environment. If the state is ENABLED, then the compute environment
accepts jobs from a queue and can scale out automatically based on queues.CEStatepublic CreateComputeEnvironmentRequest withState(CEState state)
The state of the compute environment. If the state is ENABLED, then the compute environment accepts
jobs from a queue and can scale out automatically based on queues.
state - The state of the compute environment. If the state is ENABLED, then the compute environment
accepts jobs from a queue and can scale out automatically based on queues.CEStatepublic void setComputeResources(ComputeResource computeResources)
Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments.
computeResources - Details of the compute resources managed by the compute environment. This parameter is required for
managed compute environments.public ComputeResource getComputeResources()
Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments.
public CreateComputeEnvironmentRequest withComputeResources(ComputeResource computeResources)
Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments.
computeResources - Details of the compute resources managed by the compute environment. This parameter is required for
managed compute environments.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.
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.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.
public CreateComputeEnvironmentRequest 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.
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.public String toString()
toString in class ObjectObject.toString()public CreateComputeEnvironmentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.