@Generated(value="software.amazon.awssdk:codegen") public final class ComputeLimits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComputeLimits.Builder,ComputeLimits>
The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster can not be above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComputeLimits.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ComputeLimits.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maximumCapacityUnits()
The upper boundary of EC2 units.
|
Integer |
maximumCoreCapacityUnits()
The upper boundary of EC2 units for core node type in a cluster.
|
Integer |
maximumOnDemandCapacityUnits()
The upper boundary of On-Demand EC2 units.
|
Integer |
minimumCapacityUnits()
The lower boundary of EC2 units.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComputeLimits.Builder> |
serializableBuilderClass() |
ComputeLimits.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ComputeLimitsUnitType |
unitType()
The unit type used for specifying a managed scaling policy.
|
String |
unitTypeAsString()
The unit type used for specifying a managed scaling policy.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ComputeLimitsUnitType unitType()
The unit type used for specifying a managed scaling policy.
If the service returns an enum value that is not available in the current SDK version, unitType will
return ComputeLimitsUnitType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from unitTypeAsString().
ComputeLimitsUnitTypepublic final String unitTypeAsString()
The unit type used for specifying a managed scaling policy.
If the service returns an enum value that is not available in the current SDK version, unitType will
return ComputeLimitsUnitType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from unitTypeAsString().
ComputeLimitsUnitTypepublic final Integer minimumCapacityUnits()
The lower boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
public final Integer maximumCapacityUnits()
The upper boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
public final Integer maximumOnDemandCapacityUnits()
The upper boundary of On-Demand EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot Instances.
public final Integer maximumCoreCapacityUnits()
The upper boundary of EC2 units for core node type in a cluster. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.
public ComputeLimits.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComputeLimits.Builder,ComputeLimits>public static ComputeLimits.Builder builder()
public static Class<? extends ComputeLimits.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.