Interface ProxyRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProxyRule.Builder,,ProxyRule> SdkBuilder<ProxyRule.Builder,,ProxyRule> SdkPojo
- Enclosing class:
ProxyRule
-
Method Summary
Modifier and TypeMethodDescriptionAction to take.action(ProxyRulePhaseAction action) Action to take.conditions(Collection<ProxyRuleCondition> conditions) Match criteria that specify what traffic attributes to examine.conditions(Consumer<ProxyRuleCondition.Builder>... conditions) Match criteria that specify what traffic attributes to examine.conditions(ProxyRuleCondition... conditions) Match criteria that specify what traffic attributes to examine.description(String description) A description of the proxy rule.proxyRuleName(String proxyRuleName) The descriptive name of the proxy rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
proxyRuleName
The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.
- Parameters:
proxyRuleName- The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the proxy rule.
- Parameters:
description- A description of the proxy rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Action to take.
- Parameters:
action- Action to take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Action to take.
- Parameters:
action- Action to take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
- Parameters:
conditions- Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
- Parameters:
conditions- Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
This is a convenience method that creates an instance of theProxyRuleCondition.Builderavoiding the need to create one manually viaProxyRuleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<ProxyRuleCondition>).- Parameters:
conditions- a consumer that will call methods onProxyRuleCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-