Class CfnListenerRule.HostHeaderConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule.HostHeaderConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnListenerRule.HostHeaderConfigProperty>
- Enclosing interface:
CfnListenerRule.HostHeaderConfigProperty
@Stability(Stable)
public static final class CfnListenerRule.HostHeaderConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnListenerRule.HostHeaderConfigProperty>
A builder for
CfnListenerRule.HostHeaderConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnListenerRule.HostHeaderConfigProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
values
@Stability(Stable) public CfnListenerRule.HostHeaderConfigProperty.Builder values(List<String> values) Sets the value ofCfnListenerRule.HostHeaderConfigProperty.getValues()- Parameters:
values- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character.If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnListenerRule.HostHeaderConfigProperty>- Returns:
- a new instance of
CfnListenerRule.HostHeaderConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-