@Generated(value="software.amazon.awssdk:codegen") public final class ComputeEnvironmentOrder extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComputeEnvironmentOrder.Builder,ComputeEnvironmentOrder>
The order that compute environments are tried in 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. Compute environments must be in the
VALID state before you can associate them with a job queue. All of the compute environments must be
either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT);
EC2 and Fargate compute environments can't be mixed.
All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComputeEnvironmentOrder.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ComputeEnvironmentOrder.Builder |
builder() |
String |
computeEnvironment()
The Amazon Resource Name (ARN) of the compute environment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
order()
The order of the compute environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComputeEnvironmentOrder.Builder> |
serializableBuilderClass() |
ComputeEnvironmentOrder.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer order()
The order of the compute environment. 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.
order integer value is tried for job placement first.public final String computeEnvironment()
The Amazon Resource Name (ARN) of the compute environment.
public ComputeEnvironmentOrder.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComputeEnvironmentOrder.Builder,ComputeEnvironmentOrder>public static ComputeEnvironmentOrder.Builder builder()
public static Class<? extends ComputeEnvironmentOrder.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.