@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComputeEnvironmentOrder extends Object implements Serializable, Cloneable
The order in which compute environments are tried for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
Constructor and Description |
---|
ComputeEnvironmentOrder() |
Modifier and Type | Method and Description |
---|---|
ComputeEnvironmentOrder |
clone() |
boolean |
equals(Object obj) |
String |
getComputeEnvironment()
The Amazon Resource Name (ARN) of the compute environment.
|
Integer |
getOrder()
The order of the compute environment.
|
int |
hashCode() |
void |
setComputeEnvironment(String computeEnvironment)
The Amazon Resource Name (ARN) of the compute environment.
|
void |
setOrder(Integer order)
The order of the compute environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ComputeEnvironmentOrder |
withComputeEnvironment(String computeEnvironment)
The Amazon Resource Name (ARN) of the compute environment.
|
ComputeEnvironmentOrder |
withOrder(Integer order)
The order of the compute environment.
|
public void setOrder(Integer order)
The order of the compute environment.
order
- The order of the compute environment.public Integer getOrder()
The order of the compute environment.
public ComputeEnvironmentOrder withOrder(Integer order)
The order of the compute environment.
order
- The order of the compute environment.public void setComputeEnvironment(String computeEnvironment)
The Amazon Resource Name (ARN) of the compute environment.
computeEnvironment
- The Amazon Resource Name (ARN) of the compute environment.public String getComputeEnvironment()
The Amazon Resource Name (ARN) of the compute environment.
public ComputeEnvironmentOrder withComputeEnvironment(String computeEnvironment)
The Amazon Resource Name (ARN) of the compute environment.
computeEnvironment
- The Amazon Resource Name (ARN) of the compute environment.public String toString()
toString
in class Object
Object.toString()
public ComputeEnvironmentOrder clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.