@Stability(value=Stable) @Internal public static final class RoutingRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RoutingRule
RoutingRule
software.amazon.jsii.JsiiObject.InitializationMode
RoutingRule.Builder, RoutingRule.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.
|
protected |
Jsii$Proxy(RoutingRuleCondition condition,
String hostName,
String httpRedirectCode,
RedirectProtocol protocol,
ReplaceKey replaceKey)
Constructor that initializes the object based on literal property values passed by the
RoutingRule.Builder . |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
RoutingRuleCondition |
getCondition()
Specifies a condition that must be met for the specified redirect to apply.
|
String |
getHostName()
The host name to use in the redirect request.
|
String |
getHttpRedirectCode()
The HTTP redirect code to use on the response.
|
RedirectProtocol |
getProtocol()
Protocol to use when redirecting requests.
|
ReplaceKey |
getReplaceKey()
Specifies the object key prefix to use in the redirect request.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
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.protected Jsii$Proxy(RoutingRuleCondition condition, String hostName, String httpRedirectCode, RedirectProtocol protocol, ReplaceKey replaceKey)
RoutingRule.Builder
.public final RoutingRuleCondition getCondition()
RoutingRule
Default: - No condition
getCondition
in interface RoutingRule
public final String getHostName()
RoutingRule
Default: - The host name used in the original request.
getHostName
in interface RoutingRule
public final String getHttpRedirectCode()
RoutingRule
Default: "301" - Moved Permanently
getHttpRedirectCode
in interface RoutingRule
public final RedirectProtocol getProtocol()
RoutingRule
Default: - The protocol used in the original request.
getProtocol
in interface RoutingRule
public final ReplaceKey getReplaceKey()
RoutingRule
Default: - The key will not be replaced
getReplaceKey
in interface RoutingRule
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.