@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComputeEnvironmentDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an AWS Batch compute environment.
| Constructor and Description |
|---|
ComputeEnvironmentDetail() |
| Modifier and Type | Method and Description |
|---|---|
ComputeEnvironmentDetail |
clone() |
boolean |
equals(Object obj) |
String |
getComputeEnvironmentArn()
The Amazon Resource Name (ARN) of the compute environment.
|
String |
getComputeEnvironmentName()
The name of the compute environment.
|
ComputeResource |
getComputeResources()
The compute resources defined for the compute environment.
|
String |
getEcsClusterArn()
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
|
String |
getServiceRole()
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API
operations on your behalf.
|
String |
getState()
The state of the compute environment.
|
String |
getStatus()
The current status of the compute environment (for example,
CREATING or VALID). |
String |
getStatusReason()
A short, human-readable string to provide additional details about the current status of the compute environment.
|
String |
getType()
The type of the compute environment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComputeEnvironmentArn(String computeEnvironmentArn)
The Amazon Resource Name (ARN) of the compute environment.
|
void |
setComputeEnvironmentName(String computeEnvironmentName)
The name of the compute environment.
|
void |
setComputeResources(ComputeResource computeResources)
The compute resources defined for the compute environment.
|
void |
setEcsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
|
void |
setServiceRole(String serviceRole)
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API
operations on your behalf.
|
void |
setState(CEState state)
The state of the compute environment.
|
void |
setState(String state)
The state of the compute environment.
|
void |
setStatus(CEStatus status)
The current status of the compute environment (for example,
CREATING or VALID). |
void |
setStatus(String status)
The current status of the compute environment (for example,
CREATING or VALID). |
void |
setStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status 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.
|
ComputeEnvironmentDetail |
withComputeEnvironmentArn(String computeEnvironmentArn)
The Amazon Resource Name (ARN) of the compute environment.
|
ComputeEnvironmentDetail |
withComputeEnvironmentName(String computeEnvironmentName)
The name of the compute environment.
|
ComputeEnvironmentDetail |
withComputeResources(ComputeResource computeResources)
The compute resources defined for the compute environment.
|
ComputeEnvironmentDetail |
withEcsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
|
ComputeEnvironmentDetail |
withServiceRole(String serviceRole)
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API
operations on your behalf.
|
ComputeEnvironmentDetail |
withState(CEState state)
The state of the compute environment.
|
ComputeEnvironmentDetail |
withState(String state)
The state of the compute environment.
|
ComputeEnvironmentDetail |
withStatus(CEStatus status)
The current status of the compute environment (for example,
CREATING or VALID). |
ComputeEnvironmentDetail |
withStatus(String status)
The current status of the compute environment (for example,
CREATING or VALID). |
ComputeEnvironmentDetail |
withStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the compute environment.
|
ComputeEnvironmentDetail |
withType(CEType type)
The type of the compute environment.
|
ComputeEnvironmentDetail |
withType(String type)
The type of the compute environment.
|
public void setComputeEnvironmentName(String computeEnvironmentName)
The name of the compute environment.
computeEnvironmentName - The name of the compute environment.public String getComputeEnvironmentName()
The name of the compute environment.
public ComputeEnvironmentDetail withComputeEnvironmentName(String computeEnvironmentName)
The name of the compute environment.
computeEnvironmentName - The name of the compute environment.public void setComputeEnvironmentArn(String computeEnvironmentArn)
The Amazon Resource Name (ARN) of the compute environment.
computeEnvironmentArn - The Amazon Resource Name (ARN) of the compute environment.public String getComputeEnvironmentArn()
The Amazon Resource Name (ARN) of the compute environment.
public ComputeEnvironmentDetail withComputeEnvironmentArn(String computeEnvironmentArn)
The Amazon Resource Name (ARN) of the compute environment.
computeEnvironmentArn - The Amazon Resource Name (ARN) of the compute environment.public void setEcsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
ecsClusterArn - The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.public String getEcsClusterArn()
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
public ComputeEnvironmentDetail withEcsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
ecsClusterArn - The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.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 ComputeEnvironmentDetail 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 ComputeEnvironmentDetail 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. The valid values are ENABLED or DISABLED. An
ENABLED state indicates that you can register instances with the compute environment and that the
associated instances can accept jobs.
state - The state of the compute environment. The valid values are ENABLED or DISABLED.
An ENABLED state indicates that you can register instances with the compute environment and
that the associated instances can accept jobs.CEStatepublic String getState()
The state of the compute environment. The valid values are ENABLED or DISABLED. An
ENABLED state indicates that you can register instances with the compute environment and that the
associated instances can accept jobs.
ENABLED or DISABLED.
An ENABLED state indicates that you can register instances with the compute environment and
that the associated instances can accept jobs.CEStatepublic ComputeEnvironmentDetail withState(String state)
The state of the compute environment. The valid values are ENABLED or DISABLED. An
ENABLED state indicates that you can register instances with the compute environment and that the
associated instances can accept jobs.
state - The state of the compute environment. The valid values are ENABLED or DISABLED.
An ENABLED state indicates that you can register instances with the compute environment and
that the associated instances can accept jobs.CEStatepublic void setState(CEState state)
The state of the compute environment. The valid values are ENABLED or DISABLED. An
ENABLED state indicates that you can register instances with the compute environment and that the
associated instances can accept jobs.
state - The state of the compute environment. The valid values are ENABLED or DISABLED.
An ENABLED state indicates that you can register instances with the compute environment and
that the associated instances can accept jobs.CEStatepublic ComputeEnvironmentDetail withState(CEState state)
The state of the compute environment. The valid values are ENABLED or DISABLED. An
ENABLED state indicates that you can register instances with the compute environment and that the
associated instances can accept jobs.
state - The state of the compute environment. The valid values are ENABLED or DISABLED.
An ENABLED state indicates that you can register instances with the compute environment and
that the associated instances can accept jobs.CEStatepublic void setStatus(String status)
The current status of the compute environment (for example, CREATING or VALID).
status - The current status of the compute environment (for example, CREATING or VALID).CEStatuspublic String getStatus()
The current status of the compute environment (for example, CREATING or VALID).
CREATING or VALID).CEStatuspublic ComputeEnvironmentDetail withStatus(String status)
The current status of the compute environment (for example, CREATING or VALID).
status - The current status of the compute environment (for example, CREATING or VALID).CEStatuspublic void setStatus(CEStatus status)
The current status of the compute environment (for example, CREATING or VALID).
status - The current status of the compute environment (for example, CREATING or VALID).CEStatuspublic ComputeEnvironmentDetail withStatus(CEStatus status)
The current status of the compute environment (for example, CREATING or VALID).
status - The current status of the compute environment (for example, CREATING or VALID).CEStatuspublic void setStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the compute environment.
statusReason - A short, human-readable string to provide additional details about the current status of the compute
environment.public String getStatusReason()
A short, human-readable string to provide additional details about the current status of the compute environment.
public ComputeEnvironmentDetail withStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the compute environment.
statusReason - A short, human-readable string to provide additional details about the current status of the compute
environment.public void setComputeResources(ComputeResource computeResources)
The compute resources defined for the compute environment.
computeResources - The compute resources defined for the compute environment.public ComputeResource getComputeResources()
The compute resources defined for the compute environment.
public ComputeEnvironmentDetail withComputeResources(ComputeResource computeResources)
The compute resources defined for the compute environment.
computeResources - The compute resources defined for the compute environment.public void setServiceRole(String serviceRole)
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.
serviceRole - The service role associated with the compute environment that allows AWS Batch to make calls to AWS API
operations on your behalf.public String getServiceRole()
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.
public ComputeEnvironmentDetail withServiceRole(String serviceRole)
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.
serviceRole - The service role associated with the compute environment that allows AWS Batch to make calls to AWS API
operations on your behalf.public String toString()
toString in class ObjectObject.toString()public ComputeEnvironmentDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.