Class CfnEndpoint.CapacitySizeProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnEndpoint.CapacitySizeProperty.Jsii$Proxy extends implements CfnEndpoint.CapacitySizeProperty
An implementation for CfnEndpoint.CapacitySizeProperty
  • Constructor Details

    • Jsii$Proxy

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

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

    • getType

      public final String getType()
      Description copied from interface: CfnEndpoint.CapacitySizeProperty
      Specifies the endpoint capacity type.

      • INSTANCE_COUNT : The endpoint activates based on the number of instances.
      • CAPACITY_PERCENT : The endpoint activates based on the specified percentage of capacity.
      Specified by:
      getType in interface CfnEndpoint.CapacitySizeProperty
    • getValue

      public final Number getValue()
      Description copied from interface: CfnEndpoint.CapacitySizeProperty
      Defines the capacity size, either as a number of instances or a capacity percentage.
      Specified by:
      getValue in interface CfnEndpoint.CapacitySizeProperty
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object