@Stability(value=Stable) public static final class CfnListenerRule.HttpRequestMethodConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnListenerRule.HttpRequestMethodConfigProperty>
CfnListenerRule.HttpRequestMethodConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnListenerRule.HttpRequestMethodConfigProperty |
build()
Builds the configured instance.
|
CfnListenerRule.HttpRequestMethodConfigProperty.Builder |
values(List<String> values)
Sets the value of
CfnListenerRule.HttpRequestMethodConfigProperty.getValues() |
@Stability(value=Stable) public CfnListenerRule.HttpRequestMethodConfigProperty.Builder values(List<String> values)
CfnListenerRule.HttpRequestMethodConfigProperty.getValues()
values
- The name of the request method.
The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.
If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
this
@Stability(value=Stable) public CfnListenerRule.HttpRequestMethodConfigProperty build()
build
in interface software.amazon.jsii.Builder<CfnListenerRule.HttpRequestMethodConfigProperty>
CfnListenerRule.HttpRequestMethodConfigProperty
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.