@Stability(value=Experimental) public static final class RoutingRule.Builder extends Object implements software.amazon.jsii.Builder<RoutingRule>
RoutingRule| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RoutingRule |
build()
Builds the configured instance.
|
RoutingRule.Builder |
condition(RoutingRuleCondition condition)
Sets the value of
RoutingRule.getCondition() |
RoutingRule.Builder |
hostName(String hostName)
Sets the value of
RoutingRule.getHostName() |
RoutingRule.Builder |
httpRedirectCode(String httpRedirectCode)
Sets the value of
RoutingRule.getHttpRedirectCode() |
RoutingRule.Builder |
protocol(RedirectProtocol protocol)
Sets the value of
RoutingRule.getProtocol() |
RoutingRule.Builder |
replaceKey(ReplaceKey replaceKey)
Sets the value of
RoutingRule.getReplaceKey() |
@Stability(value=Experimental) public RoutingRule.Builder condition(RoutingRuleCondition condition)
RoutingRule.getCondition()condition - Specifies a condition that must be met for the specified redirect to apply.this@Stability(value=Experimental) public RoutingRule.Builder hostName(String hostName)
RoutingRule.getHostName()hostName - The host name to use in the redirect request.this@Stability(value=Experimental) public RoutingRule.Builder httpRedirectCode(String httpRedirectCode)
RoutingRule.getHttpRedirectCode()httpRedirectCode - The HTTP redirect code to use on the response.this@Stability(value=Experimental) public RoutingRule.Builder protocol(RedirectProtocol protocol)
RoutingRule.getProtocol()protocol - Protocol to use when redirecting requests.this@Stability(value=Experimental) public RoutingRule.Builder replaceKey(ReplaceKey replaceKey)
RoutingRule.getReplaceKey()replaceKey - Specifies the object key prefix to use in the redirect request.this@Stability(value=Experimental) public RoutingRule build()
build in interface software.amazon.jsii.Builder<RoutingRule>RoutingRuleNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.