Class ClientVpnRouteOptions.Jsii$Proxy

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

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

    • getCidr

      public final String getCidr()
      Description copied from interface: ClientVpnRouteOptions
      The IPv4 address range, in CIDR notation, of the route destination.

      For example:

      • To add a route for Internet access, enter 0.0.0.0/0
      • To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
      • To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range
      • To add a route for the local network, enter the client CIDR range
      Specified by:
      getCidr in interface ClientVpnRouteOptions
    • getTarget

      public final ClientVpnRouteTarget getTarget()
      Description copied from interface: ClientVpnRouteOptions
      The target for the route.
      Specified by:
      getTarget in interface ClientVpnRouteOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: ClientVpnRouteOptions
      A brief description of the authorization rule.

      Default: - no description

      Specified by:
      getDescription in interface ClientVpnRouteOptions
    • $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