@Stability(value=Stable) public static final class CfnApp.CustomRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApp.CustomRuleProperty>
CfnApp.CustomRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApp.CustomRuleProperty |
build()
Builds the configured instance.
|
CfnApp.CustomRuleProperty.Builder |
condition(String condition)
Sets the value of
CfnApp.CustomRuleProperty.getCondition() |
CfnApp.CustomRuleProperty.Builder |
source(String source)
Sets the value of
CfnApp.CustomRuleProperty.getSource() |
CfnApp.CustomRuleProperty.Builder |
status(String status)
Sets the value of
CfnApp.CustomRuleProperty.getStatus() |
CfnApp.CustomRuleProperty.Builder |
target(String target)
Sets the value of
CfnApp.CustomRuleProperty.getTarget() |
@Stability(value=Stable) public CfnApp.CustomRuleProperty.Builder source(String source)
CfnApp.CustomRuleProperty.getSource()source - The source pattern for a URL rewrite or redirect rule. This parameter is required.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern: (?s).+
this@Stability(value=Stable) public CfnApp.CustomRuleProperty.Builder target(String target)
CfnApp.CustomRuleProperty.getTarget()target - The target pattern for a URL rewrite or redirect rule. This parameter is required.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern: (?s).+
this@Stability(value=Stable) public CfnApp.CustomRuleProperty.Builder condition(String condition)
CfnApp.CustomRuleProperty.getCondition()condition - The condition for a URL rewrite or redirect rule, such as a country code.
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern: (?s).*
this@Stability(value=Stable) public CfnApp.CustomRuleProperty.Builder status(String status)
CfnApp.CustomRuleProperty.getStatus()status - The status code for a URL rewrite or redirect rule.
Length Constraints: Minimum length of 3. Maximum length of 7.
Pattern: .{3,7}
this@Stability(value=Stable) public CfnApp.CustomRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnApp.CustomRuleProperty>CfnApp.CustomRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.