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
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.SubnetProps

    SubnetProps.Builder, SubnetProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the SubnetProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The availability zone for the subnet.
    final String
    The CIDR notation for this subnet.
    final Boolean
    Controls if a public IP is associated to an instance at launch.
    final String
    The VPC which this subnet is part of.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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
    • 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