@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T17:53:15.590Z") @Stability(value=Experimental) public enum AllocationStrategy extends Enum<AllocationStrategy>
| Enum Constant and Description |
|---|
BEST_FIT
(experimental) Batch will use the best fitting instance type will be used when assigning a batch job in this compute environment.
|
BEST_FIT_PROGRESSIVE
(experimental) Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU.
|
SPOT_CAPACITY_OPTIMIZED
(experimental) This is only available for Spot Instance compute resources and will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted.
|
| Modifier and Type | Method and Description |
|---|---|
static AllocationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final AllocationStrategy BEST_FIT
@Stability(value=Experimental) public static final AllocationStrategy BEST_FIT_PROGRESSIVE
@Stability(value=Experimental) public static final AllocationStrategy SPOT_CAPACITY_OPTIMIZED
public static AllocationStrategy[] values()
for (AllocationStrategy c : AllocationStrategy.values()) System.out.println(c);
public static AllocationStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.