Package com.pulumi.aws.alb.inputs
Class ListenerRuleConditionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.alb.inputs.ListenerRuleConditionArgs.Builder
-
- Enclosing class:
- ListenerRuleConditionArgs
public static final class ListenerRuleConditionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerRuleConditionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerRuleConditionArgs defaults)
-
-
Method Detail
-
hostHeader
public ListenerRuleConditionArgs.Builder hostHeader(@Nullable com.pulumi.core.Output<ListenerRuleConditionHostHeaderArgs> hostHeader)
- Parameters:
hostHeader- Host header patterns to match. Host Header block fields documented below.- Returns:
- builder
-
hostHeader
public ListenerRuleConditionArgs.Builder hostHeader(ListenerRuleConditionHostHeaderArgs hostHeader)
- Parameters:
hostHeader- Host header patterns to match. Host Header block fields documented below.- Returns:
- builder
-
httpHeader
public ListenerRuleConditionArgs.Builder httpHeader(@Nullable com.pulumi.core.Output<ListenerRuleConditionHttpHeaderArgs> httpHeader)
- Parameters:
httpHeader- HTTP headers to match. HTTP Header block fields documented below.- Returns:
- builder
-
httpHeader
public ListenerRuleConditionArgs.Builder httpHeader(ListenerRuleConditionHttpHeaderArgs httpHeader)
- Parameters:
httpHeader- HTTP headers to match. HTTP Header block fields documented below.- Returns:
- builder
-
httpRequestMethod
public ListenerRuleConditionArgs.Builder httpRequestMethod(@Nullable com.pulumi.core.Output<ListenerRuleConditionHttpRequestMethodArgs> httpRequestMethod)
- Parameters:
httpRequestMethod- Contains a single `values` item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (\_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.- Returns:
- builder
-
httpRequestMethod
public ListenerRuleConditionArgs.Builder httpRequestMethod(ListenerRuleConditionHttpRequestMethodArgs httpRequestMethod)
- Parameters:
httpRequestMethod- Contains a single `values` item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (\_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.- Returns:
- builder
-
pathPattern
public ListenerRuleConditionArgs.Builder pathPattern(@Nullable com.pulumi.core.Output<ListenerRuleConditionPathPatternArgs> pathPattern)
- Parameters:
pathPattern- Path patterns to match against the request URL. Path Pattern block fields documented below.- Returns:
- builder
-
pathPattern
public ListenerRuleConditionArgs.Builder pathPattern(ListenerRuleConditionPathPatternArgs pathPattern)
- Parameters:
pathPattern- Path patterns to match against the request URL. Path Pattern block fields documented below.- Returns:
- builder
-
queryStrings
public ListenerRuleConditionArgs.Builder queryStrings(@Nullable com.pulumi.core.Output<java.util.List<ListenerRuleConditionQueryStringArgs>> queryStrings)
- Parameters:
queryStrings- Query strings to match. Query String block fields documented below.- Returns:
- builder
-
queryStrings
public ListenerRuleConditionArgs.Builder queryStrings(java.util.List<ListenerRuleConditionQueryStringArgs> queryStrings)
- Parameters:
queryStrings- Query strings to match. Query String block fields documented below.- Returns:
- builder
-
queryStrings
public ListenerRuleConditionArgs.Builder queryStrings(ListenerRuleConditionQueryStringArgs... queryStrings)
- Parameters:
queryStrings- Query strings to match. Query String block fields documented below.- Returns:
- builder
-
sourceIp
public ListenerRuleConditionArgs.Builder sourceIp(@Nullable com.pulumi.core.Output<ListenerRuleConditionSourceIpArgs> sourceIp)
- Parameters:
sourceIp- Source IP address to match. For ALB, use `values` to specify CIDR ranges. For NLB, use `ipAddressType` to match the IP address type (`ipv4` or `ipv6`). Source IP block fields documented below. > **NOTE::** Exactly one of `hostHeader`, `httpHeader`, `httpRequestMethod`, `pathPattern`, `queryString` or `sourceIp` must be set per condition.- Returns:
- builder
-
sourceIp
public ListenerRuleConditionArgs.Builder sourceIp(ListenerRuleConditionSourceIpArgs sourceIp)
- Parameters:
sourceIp- Source IP address to match. For ALB, use `values` to specify CIDR ranges. For NLB, use `ipAddressType` to match the IP address type (`ipv4` or `ipv6`). Source IP block fields documented below. > **NOTE::** Exactly one of `hostHeader`, `httpHeader`, `httpRequestMethod`, `pathPattern`, `queryString` or `sourceIp` must be set per condition.- Returns:
- builder
-
build
public ListenerRuleConditionArgs build()
-
-