Class ConsumableResourceProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class ConsumableResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ConsumableResourceProps
An implementation for ConsumableResourceProps
  • 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(ConsumableResourceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ConsumableResourceProps.Builder.
  • Method Details

    • getTotalQuantity

      public final Number getTotalQuantity()
      Description copied from interface: ConsumableResourceProps
      The total quantity of the consumable resource.

      Must be a non-negative integer.

      Specified by:
      getTotalQuantity in interface ConsumableResourceProps
    • getConsumableResourceName

      public final String getConsumableResourceName()
      Description copied from interface: ConsumableResourceProps
      The name of the consumable resource.

      The name must be unique within the account and Region. Changing it replaces the resource.

      Default: - CloudFormation-generated name

      Specified by:
      getConsumableResourceName in interface ConsumableResourceProps
    • getResourceType

      public final ConsumableResourceType getResourceType()
      Description copied from interface: ConsumableResourceProps
      The type of consumable resource.

      Changing this property replaces the resource. Because the name must be unique within the account and Region, changing the type of a resource that has a consumableResourceName fails the deployment unless the name is changed as well.

      Default: ConsumableResourceType.REPLENISHABLE

      Specified by:
      getResourceType in interface ConsumableResourceProps
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: ConsumableResourceProps
      Tags to apply to the consumable resource.

      Default: - no tags

      Specified by:
      getTags in interface ConsumableResourceProps
    • $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