Class CfnListenerRule.PathPatternConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule.PathPatternConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnListenerRule.PathPatternConfigProperty>
- Enclosing interface:
CfnListenerRule.PathPatternConfigProperty
@Stability(Stable)
public static final class CfnListenerRule.PathPatternConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnListenerRule.PathPatternConfigProperty>
A builder for
CfnListenerRule.PathPatternConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnListenerRule.PathPatternConfigProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
values
@Stability(Stable) public CfnListenerRule.PathPatternConfigProperty.Builder values(List<String> values) Sets the value ofCfnListenerRule.PathPatternConfigProperty.getValues()
- Parameters:
values
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnListenerRule.PathPatternConfigProperty>
- Returns:
- a new instance of
CfnListenerRule.PathPatternConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-