@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)
Marshalls this structured data using the given
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.CEType
public String getType()
The type of the compute environment.
CEType
public ComputeEnvironmentDetail 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 ComputeEnvironmentDetail 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. 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.CEState
public 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.CEState
public 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.CEState
public 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.CEState
public 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.CEState
public 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
).CEStatus
public String getStatus()
The current status of the compute environment (for example, CREATING
or VALID
).
CREATING
or VALID
).CEStatus
public 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
).CEStatus
public 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
).CEStatus
public 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
).CEStatus
public 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 Object
Object.toString()
public ComputeEnvironmentDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.