Class CfnCluster.ComputeLimitsProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.emr.CfnCluster.ComputeLimitsProperty.Jsii$Proxy
All Implemented Interfaces:
CfnCluster.ComputeLimitsProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnCluster.ComputeLimitsProperty

@Stability(Stable) @Internal public static final class CfnCluster.ComputeLimitsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCluster.ComputeLimitsProperty
An implementation for CfnCluster.ComputeLimitsProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnCluster.ComputeLimitsProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnCluster.ComputeLimitsProperty.Builder.
  • Method Details

    • getMaximumCapacityUnits

      public final Number getMaximumCapacityUnits()
      Description copied from interface: CfnCluster.ComputeLimitsProperty
      The upper boundary of Amazon 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.

      Specified by:
      getMaximumCapacityUnits in interface CfnCluster.ComputeLimitsProperty
    • getMinimumCapacityUnits

      public final Number getMinimumCapacityUnits()
      Description copied from interface: CfnCluster.ComputeLimitsProperty
      The lower boundary of Amazon 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.

      Specified by:
      getMinimumCapacityUnits in interface CfnCluster.ComputeLimitsProperty
    • getUnitType

      public final String getUnitType()
      Description copied from interface: CfnCluster.ComputeLimitsProperty
      The unit type used for specifying a managed scaling policy.
      Specified by:
      getUnitType in interface CfnCluster.ComputeLimitsProperty
    • getMaximumCoreCapacityUnits

      public final Number getMaximumCoreCapacityUnits()
      Description copied from interface: CfnCluster.ComputeLimitsProperty
      The upper boundary of Amazon 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.

      Specified by:
      getMaximumCoreCapacityUnits in interface CfnCluster.ComputeLimitsProperty
    • getMaximumOnDemandCapacityUnits

      public final Number getMaximumOnDemandCapacityUnits()
      Description copied from interface: CfnCluster.ComputeLimitsProperty
      The upper boundary of On-Demand Amazon 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.

      Specified by:
      getMaximumOnDemandCapacityUnits in interface CfnCluster.ComputeLimitsProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object