Class AddRouteOptions.Jsii$Proxy

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

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

    • getRouterId

      public final String getRouterId()
      Description copied from interface: AddRouteOptions
      The ID of the router.

      Can be an instance ID, gateway ID, etc, depending on the router type.

      Specified by:
      getRouterId in interface AddRouteOptions
    • getRouterType

      public final RouterType getRouterType()
      Description copied from interface: AddRouteOptions
      What type of router to route this traffic to.
      Specified by:
      getRouterType in interface AddRouteOptions
    • getDestinationCidrBlock

      public final String getDestinationCidrBlock()
      Description copied from interface: AddRouteOptions
      IPv4 range this route applies to.

      Default: '0.0.0.0/0'

      Specified by:
      getDestinationCidrBlock in interface AddRouteOptions
    • getDestinationIpv6CidrBlock

      public final String getDestinationIpv6CidrBlock()
      Description copied from interface: AddRouteOptions
      IPv6 range this route applies to.

      Default: - Uses IPv6

      Specified by:
      getDestinationIpv6CidrBlock in interface AddRouteOptions
    • getEnablesInternetConnectivity

      public final Boolean getEnablesInternetConnectivity()
      Description copied from interface: AddRouteOptions
      Whether this route will enable internet connectivity.

      If true, this route will be added before any AWS resources that depend on internet connectivity in the VPC will be created.

      Default: false

      Specified by:
      getEnablesInternetConnectivity in interface AddRouteOptions
    • $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