@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComputeLimits extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ComputeLimits() |
Modifier and Type | Method and Description |
---|---|
ComputeLimits |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximumCapacityUnits()
The upper boundary of EC2 units.
|
Integer |
getMaximumCoreCapacityUnits()
The upper boundary of EC2 units for core node type in a cluster.
|
Integer |
getMaximumOnDemandCapacityUnits()
The upper boundary of On-Demand EC2 units.
|
Integer |
getMinimumCapacityUnits()
The lower boundary of EC2 units.
|
String |
getUnitType()
The unit type used for specifying a managed scaling policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaximumCapacityUnits(Integer maximumCapacityUnits)
The upper boundary of EC2 units.
|
void |
setMaximumCoreCapacityUnits(Integer maximumCoreCapacityUnits)
The upper boundary of EC2 units for core node type in a cluster.
|
void |
setMaximumOnDemandCapacityUnits(Integer maximumOnDemandCapacityUnits)
The upper boundary of On-Demand EC2 units.
|
void |
setMinimumCapacityUnits(Integer minimumCapacityUnits)
The lower boundary of EC2 units.
|
void |
setUnitType(String unitType)
The unit type used for specifying a managed scaling policy.
|
String |
toString()
Returns a string representation of this object.
|
ComputeLimits |
withMaximumCapacityUnits(Integer maximumCapacityUnits)
The upper boundary of EC2 units.
|
ComputeLimits |
withMaximumCoreCapacityUnits(Integer maximumCoreCapacityUnits)
The upper boundary of EC2 units for core node type in a cluster.
|
ComputeLimits |
withMaximumOnDemandCapacityUnits(Integer maximumOnDemandCapacityUnits)
The upper boundary of On-Demand EC2 units.
|
ComputeLimits |
withMinimumCapacityUnits(Integer minimumCapacityUnits)
The lower boundary of EC2 units.
|
ComputeLimits |
withUnitType(ComputeLimitsUnitType unitType)
The unit type used for specifying a managed scaling policy.
|
ComputeLimits |
withUnitType(String unitType)
The unit type used for specifying a managed scaling policy.
|
public void setUnitType(String unitType)
The unit type used for specifying a managed scaling policy.
unitType
- The unit type used for specifying a managed scaling policy.ComputeLimitsUnitType
public String getUnitType()
The unit type used for specifying a managed scaling policy.
ComputeLimitsUnitType
public ComputeLimits withUnitType(String unitType)
The unit type used for specifying a managed scaling policy.
unitType
- The unit type used for specifying a managed scaling policy.ComputeLimitsUnitType
public ComputeLimits withUnitType(ComputeLimitsUnitType unitType)
The unit type used for specifying a managed scaling policy.
unitType
- The unit type used for specifying a managed scaling policy.ComputeLimitsUnitType
public void setMinimumCapacityUnits(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.
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 Integer getMinimumCapacityUnits()
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 ComputeLimits withMinimumCapacityUnits(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.
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 void setMaximumCapacityUnits(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.
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 Integer getMaximumCapacityUnits()
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 ComputeLimits withMaximumCapacityUnits(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.
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 void setMaximumOnDemandCapacityUnits(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.
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 Integer getMaximumOnDemandCapacityUnits()
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 ComputeLimits withMaximumOnDemandCapacityUnits(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.
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 void setMaximumCoreCapacityUnits(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.
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 Integer getMaximumCoreCapacityUnits()
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 withMaximumCoreCapacityUnits(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.
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 String toString()
toString
in class Object
Object.toString()
public ComputeLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.