@Stability(value=Stable) @Internal public static final class CfnListenerRule.RedirectConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnListenerRule.RedirectConfigProperty
CfnListenerRule.RedirectConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnListenerRule.RedirectConfigProperty.Builder, CfnListenerRule.RedirectConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnListenerRule.RedirectConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnListenerRule.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(CfnListenerRule.RedirectConfigProperty.Builder builder)
CfnListenerRule.ActionProperty.Builder.public final String getStatusCode()
CfnListenerRule.RedirectConfigPropertyThe redirect is either permanent (HTTP 301) or temporary (HTTP 302).
getStatusCode in interface CfnListenerRule.RedirectConfigPropertypublic final String getHost()
CfnListenerRule.RedirectConfigPropertyThis component is not percent-encoded. The hostname can contain #{host}.
getHost in interface CfnListenerRule.RedirectConfigPropertypublic final String getPath()
CfnListenerRule.RedirectConfigPropertyThis component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
getPath in interface CfnListenerRule.RedirectConfigPropertypublic final String getPort()
CfnListenerRule.RedirectConfigPropertyYou can specify a value from 1 to 65535 or #{port}.
getPort in interface CfnListenerRule.RedirectConfigPropertypublic final String getProtocol()
CfnListenerRule.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 CfnListenerRule.RedirectConfigPropertypublic final String getQuery()
CfnListenerRule.RedirectConfigPropertyDo not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
getQuery in interface CfnListenerRule.RedirectConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.