@Stability(value=Stable) public static final class CfnListenerRule.RuleConditionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnListenerRule.RuleConditionProperty>
CfnListenerRule.RuleConditionProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder field(String field)
CfnListenerRule.RuleConditionProperty.getField()field - The field in the HTTP request. The following are the possible values:.
http-headerhttp-request-methodhost-headerpath-patternquery-stringsource-ipthis@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder hostHeaderConfig(CfnListenerRule.HostHeaderConfigProperty hostHeaderConfig)
CfnListenerRule.RuleConditionProperty.getHostHeaderConfig()hostHeaderConfig - Information for a host header condition.
Specify only when Field is host-header .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder hostHeaderConfig(IResolvable hostHeaderConfig)
CfnListenerRule.RuleConditionProperty.getHostHeaderConfig()hostHeaderConfig - Information for a host header condition.
Specify only when Field is host-header .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder httpHeaderConfig(CfnListenerRule.HttpHeaderConfigProperty httpHeaderConfig)
CfnListenerRule.RuleConditionProperty.getHttpHeaderConfig()httpHeaderConfig - Information for an HTTP header condition.
Specify only when Field is http-header .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder httpHeaderConfig(IResolvable httpHeaderConfig)
CfnListenerRule.RuleConditionProperty.getHttpHeaderConfig()httpHeaderConfig - Information for an HTTP header condition.
Specify only when Field is http-header .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder httpRequestMethodConfig(CfnListenerRule.HttpRequestMethodConfigProperty httpRequestMethodConfig)
CfnListenerRule.RuleConditionProperty.getHttpRequestMethodConfig()httpRequestMethodConfig - Information for an HTTP method condition.
Specify only when Field is http-request-method .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder httpRequestMethodConfig(IResolvable httpRequestMethodConfig)
CfnListenerRule.RuleConditionProperty.getHttpRequestMethodConfig()httpRequestMethodConfig - Information for an HTTP method condition.
Specify only when Field is http-request-method .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder pathPatternConfig(CfnListenerRule.PathPatternConfigProperty pathPatternConfig)
CfnListenerRule.RuleConditionProperty.getPathPatternConfig()pathPatternConfig - Information for a path pattern condition.
Specify only when Field is path-pattern .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder pathPatternConfig(IResolvable pathPatternConfig)
CfnListenerRule.RuleConditionProperty.getPathPatternConfig()pathPatternConfig - Information for a path pattern condition.
Specify only when Field is path-pattern .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder queryStringConfig(CfnListenerRule.QueryStringConfigProperty queryStringConfig)
CfnListenerRule.RuleConditionProperty.getQueryStringConfig()queryStringConfig - Information for a query string condition.
Specify only when Field is query-string .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder queryStringConfig(IResolvable queryStringConfig)
CfnListenerRule.RuleConditionProperty.getQueryStringConfig()queryStringConfig - Information for a query string condition.
Specify only when Field is query-string .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder sourceIpConfig(CfnListenerRule.SourceIpConfigProperty sourceIpConfig)
CfnListenerRule.RuleConditionProperty.getSourceIpConfig()sourceIpConfig - Information for a source IP condition.
Specify only when Field is source-ip .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder sourceIpConfig(IResolvable sourceIpConfig)
CfnListenerRule.RuleConditionProperty.getSourceIpConfig()sourceIpConfig - Information for a source IP condition.
Specify only when Field is source-ip .this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty.Builder values(List<String> values)
CfnListenerRule.RuleConditionProperty.getValues()values - The condition value.
Specify only when Field is host-header or path-pattern . Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig .
If Field is host-header and you're not using HostHeaderConfig , you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.
If Field is path-pattern and you're not using PathPatternConfig , you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.
this@Stability(value=Stable) public CfnListenerRule.RuleConditionProperty build()
build in interface software.amazon.jsii.Builder<CfnListenerRule.RuleConditionProperty>CfnListenerRule.RuleConditionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.