@Stability(value=Stable) public static final class CfnListenerRule.HttpHeaderConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnListenerRule.HttpHeaderConfigProperty>
CfnListenerRule.HttpHeaderConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnListenerRule.HttpHeaderConfigProperty |
build()
Builds the configured instance.
|
CfnListenerRule.HttpHeaderConfigProperty.Builder |
httpHeaderName(String httpHeaderName)
Sets the value of
CfnListenerRule.HttpHeaderConfigProperty.getHttpHeaderName() |
CfnListenerRule.HttpHeaderConfigProperty.Builder |
values(List<String> values)
Sets the value of
CfnListenerRule.HttpHeaderConfigProperty.getValues() |
@Stability(value=Stable) public CfnListenerRule.HttpHeaderConfigProperty.Builder httpHeaderName(String httpHeaderName)
CfnListenerRule.HttpHeaderConfigProperty.getHttpHeaderName()httpHeaderName - The name of the HTTP header field.
The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.this@Stability(value=Stable) public CfnListenerRule.HttpHeaderConfigProperty.Builder values(List<String> values)
CfnListenerRule.HttpHeaderConfigProperty.getValues()values - One or more strings to compare against the value of the HTTP header.
The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If the same header appears multiple times in the request, we search them in order until a match is found.
If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
this@Stability(value=Stable) public CfnListenerRule.HttpHeaderConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnListenerRule.HttpHeaderConfigProperty>CfnListenerRule.HttpHeaderConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.