Class RedirectOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class RedirectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RedirectOptions
An implementation for RedirectOptions
  • 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.elasticloadbalancingv2.RedirectOptions

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the RedirectOptions.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 hostname.
    final String
    The absolute path, starting with the leading "/".
    final Boolean
    The HTTP redirect code.
    final String
    The port.
    final String
    The protocol.
    final String
    The query parameters, URL-encoded when necessary, but not percent-encoded.
    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(RedirectOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RedirectOptions.Builder.
  • Method Details

    • getHost

      public final String getHost()
      Description copied from interface: RedirectOptions
      The hostname.

      This component is not percent-encoded. The hostname can contain #{host}.

      Default: - No change

      Specified by:
      getHost in interface RedirectOptions
    • getPath

      public final String getPath()
      Description copied from interface: RedirectOptions
      The absolute path, starting with the leading "/".

      This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

      Default: - No change

      Specified by:
      getPath in interface RedirectOptions
    • getPermanent

      public final Boolean getPermanent()
      Description copied from interface: RedirectOptions
      The HTTP redirect code.

      The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

      Default: false

      Specified by:
      getPermanent in interface RedirectOptions
    • getPort

      public final String getPort()
      Description copied from interface: RedirectOptions
      The port.

      You can specify a value from 1 to 65535 or #{port}.

      Default: - No change

      Specified by:
      getPort in interface RedirectOptions
    • getProtocol

      public final String getProtocol()
      Description copied from interface: RedirectOptions
      The protocol.

      You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

      Default: - No change

      Specified by:
      getProtocol in interface RedirectOptions
    • getQuery

      public final String getQuery()
      Description copied from interface: RedirectOptions
      The query parameters, URL-encoded when necessary, but not percent-encoded.

      Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

      Default: - No change

      Specified by:
      getQuery in interface RedirectOptions
    • $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