Class CfnIPAMAllocationProps.Jsii$Proxy

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

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

    • getIpamPoolId

      public final String getIpamPoolId()
      Description copied from interface: CfnIPAMAllocationProps
      The ID of the IPAM pool from which you would like to allocate a CIDR.
      Specified by:
      getIpamPoolId in interface CfnIPAMAllocationProps
    • getCidr

      public final String getCidr()
      Description copied from interface: CfnIPAMAllocationProps
      The CIDR you would like to allocate from the IPAM pool. Note the following:.

      • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
      • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

      Possible values: Any available IPv4 or IPv6 CIDR.

      Specified by:
      getCidr in interface CfnIPAMAllocationProps
    • getDescription

      public final String getDescription()
      Description copied from interface: CfnIPAMAllocationProps
      A description for the allocation.
      Specified by:
      getDescription in interface CfnIPAMAllocationProps
    • getNetmaskLength

      public final Number getNetmaskLength()
      Description copied from interface: CfnIPAMAllocationProps
      The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:.

      • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
      • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

      Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

      Specified by:
      getNetmaskLength in interface CfnIPAMAllocationProps
    • $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