public static final class CfnListenerRule.HttpRequestMethodConfigProperty.Builder
extends java.lang.Object
CfnListenerRule.HttpRequestMethodConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnListenerRule.HttpRequestMethodConfigProperty |
build()
Builds the configured instance.
|
CfnListenerRule.HttpRequestMethodConfigProperty.Builder |
values(java.util.List<java.lang.String> values)
Sets the value of
CfnListenerRule.HttpRequestMethodConfigProperty.getValues() |
public CfnListenerRule.HttpRequestMethodConfigProperty.Builder values(java.util.List<java.lang.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
public CfnListenerRule.HttpRequestMethodConfigProperty build()
CfnListenerRule.HttpRequestMethodConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided