@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 object for all fields except the handler context.
|
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.
|
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 setComputeEnvironmentName(String computeEnvironmentName)
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
computeEnvironmentName
- The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and
underscores are allowed.public String getComputeEnvironmentName()
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
public CreateComputeEnvironmentRequest withComputeEnvironmentName(String computeEnvironmentName)
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
computeEnvironmentName
- The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and
underscores are allowed.public void setType(String type)
The type of the compute environment.
type
- The type of the compute environment.CEType
public String getType()
The type of the compute environment.
CEType
public CreateComputeEnvironmentRequest withType(String type)
The type of the compute environment.
type
- The type of the compute environment.CEType
public void setType(CEType type)
The type of the compute environment.
type
- The type of the compute environment.CEType
public CreateComputeEnvironmentRequest withType(CEType type)
The type of the compute environment.
type
- The type of the compute environment.CEType
public 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.CEState
public 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.CEState
public 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.CEState
public 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.CEState
public 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.CEState
public 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.
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 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.
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 CreateComputeEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.