public static final class CfnListenerRule.RedirectConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnListenerRule.RedirectConfigProperty
CfnListenerRule.RedirectConfigProperty
CfnListenerRule.RedirectConfigProperty.Builder, CfnListenerRule.RedirectConfigProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getHost()
The hostname.
|
java.lang.String |
getPath()
The absolute path, starting with the leading "/".
|
java.lang.String |
getPort()
The port.
|
java.lang.String |
getProtocol()
The protocol.
|
java.lang.String |
getQuery()
The query parameters, URL-encoded when necessary, but not percent-encoded.
|
java.lang.String |
getStatusCode()
The HTTP redirect code.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getStatusCode()
CfnListenerRule.RedirectConfigProperty
The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
getStatusCode
in interface CfnListenerRule.RedirectConfigProperty
public final java.lang.String getHost()
CfnListenerRule.RedirectConfigProperty
This component is not percent-encoded. The hostname can contain #{host}.
getHost
in interface CfnListenerRule.RedirectConfigProperty
public final java.lang.String getPath()
CfnListenerRule.RedirectConfigProperty
This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
getPath
in interface CfnListenerRule.RedirectConfigProperty
public final java.lang.String getPort()
CfnListenerRule.RedirectConfigProperty
You can specify a value from 1 to 65535 or #{port}.
getPort
in interface CfnListenerRule.RedirectConfigProperty
public final java.lang.String getProtocol()
CfnListenerRule.RedirectConfigProperty
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.
getProtocol
in interface CfnListenerRule.RedirectConfigProperty
public final java.lang.String getQuery()
CfnListenerRule.RedirectConfigProperty
Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
getQuery
in interface CfnListenerRule.RedirectConfigProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()