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
ModifierConstructorDescriptionprotected
Jsii$Proxy
(RedirectOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theRedirectOptions.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 TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
getHost()
The hostname.final String
getPath()
The absolute path, starting with the leading "/".final Boolean
The HTTP redirect code.final String
getPort()
The port.final String
The protocol.final String
getQuery()
The query parameters, URL-encoded when necessary, but not percent-encoded.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theRedirectOptions.Builder
.
-
-
Method Details
-
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 interfaceRedirectOptions
-
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 interfaceRedirectOptions
-
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 interfaceRedirectOptions
-
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 interfaceRedirectOptions
-
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 interfaceRedirectOptions
-
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 interfaceRedirectOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-