Class SubnetProps.Jsii$Proxy

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

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

    • getAvailabilityZone

      public final String getAvailabilityZone()
      Description copied from interface: SubnetProps
      The availability zone for the subnet.
      Specified by:
      getAvailabilityZone in interface SubnetProps
    • getCidrBlock

      public final String getCidrBlock()
      Description copied from interface: SubnetProps
      The CIDR notation for this subnet.
      Specified by:
      getCidrBlock in interface SubnetProps
    • getVpcId

      public final String getVpcId()
      Description copied from interface: SubnetProps
      The VPC which this subnet is part of.
      Specified by:
      getVpcId in interface SubnetProps
    • getAssignIpv6AddressOnCreation

      public final Boolean getAssignIpv6AddressOnCreation()
      Description copied from interface: SubnetProps
      Indicates whether a network interface created in this subnet receives an IPv6 address.

      If you specify AssignIpv6AddressOnCreation, you must also specify Ipv6CidrBlock.

      Default: false

      Specified by:
      getAssignIpv6AddressOnCreation in interface SubnetProps
    • getIpv6CidrBlock

      public final String getIpv6CidrBlock()
      Description copied from interface: SubnetProps
      The IPv6 CIDR block.

      If you specify AssignIpv6AddressOnCreation, you must also specify Ipv6CidrBlock.

      Default: - no IPv6 CIDR block.

      Specified by:
      getIpv6CidrBlock in interface SubnetProps
    • getMapPublicIpOnLaunch

      public final Boolean getMapPublicIpOnLaunch()
      Description copied from interface: SubnetProps
      Controls if a public IP is associated to an instance at launch.

      Default: true in Subnet.Public, false in Subnet.Private or Subnet.Isolated.

      Specified by:
      getMapPublicIpOnLaunch in interface SubnetProps
    • $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