@Stability(value=Stable) @Internal public static final class CfnListener.RedirectConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnListener.RedirectConfigProperty
CfnListener.RedirectConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnListener.RedirectConfigProperty.Builder, CfnListener.RedirectConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnListener.RedirectConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnListener.ActionProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getHost()
The hostname.
|
String |
getPath()
The absolute path, starting with the leading "/".
|
String |
getPort()
The port.
|
String |
getProtocol()
The protocol.
|
String |
getQuery()
The query parameters, URL-encoded when necessary, but not percent-encoded.
|
String |
getStatusCode()
The HTTP redirect code.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnListener.RedirectConfigProperty.Builder builder)
CfnListener.ActionProperty.Builder.public final String getStatusCode()
CfnListener.RedirectConfigPropertyThe redirect is either permanent (HTTP 301) or temporary (HTTP 302).
getStatusCode in interface CfnListener.RedirectConfigPropertypublic final String getHost()
CfnListener.RedirectConfigPropertyThis component is not percent-encoded. The hostname can contain #{host}.
getHost in interface CfnListener.RedirectConfigPropertypublic final String getPath()
CfnListener.RedirectConfigPropertyThis component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
getPath in interface CfnListener.RedirectConfigPropertypublic final String getPort()
CfnListener.RedirectConfigPropertyYou can specify a value from 1 to 65535 or #{port}.
getPort in interface CfnListener.RedirectConfigPropertypublic final String getProtocol()
CfnListener.RedirectConfigPropertyYou 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.
getProtocol in interface CfnListener.RedirectConfigPropertypublic final String getQuery()
CfnListener.RedirectConfigPropertyDo not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
getQuery in interface CfnListener.RedirectConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.