Package com.pulumi.aws.alb.inputs
Class ListenerRuleConditionHttpHeaderArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.alb.inputs.ListenerRuleConditionHttpHeaderArgs.Builder
-
- Enclosing class:
- ListenerRuleConditionHttpHeaderArgs
public static final class ListenerRuleConditionHttpHeaderArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerRuleConditionHttpHeaderArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerRuleConditionHttpHeaderArgsbuild()ListenerRuleConditionHttpHeaderArgs.BuilderhttpHeaderName(com.pulumi.core.Output<java.lang.String> httpHeaderName)ListenerRuleConditionHttpHeaderArgs.BuilderhttpHeaderName(java.lang.String httpHeaderName)ListenerRuleConditionHttpHeaderArgs.BuilderregexValues(com.pulumi.core.Output<java.util.List<java.lang.String>> regexValues)ListenerRuleConditionHttpHeaderArgs.BuilderregexValues(java.lang.String... regexValues)ListenerRuleConditionHttpHeaderArgs.BuilderregexValues(java.util.List<java.lang.String> regexValues)ListenerRuleConditionHttpHeaderArgs.Buildervalues(com.pulumi.core.Output<java.util.List<java.lang.String>> values)ListenerRuleConditionHttpHeaderArgs.Buildervalues(java.lang.String... values)ListenerRuleConditionHttpHeaderArgs.Buildervalues(java.util.List<java.lang.String> values)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerRuleConditionHttpHeaderArgs defaults)
-
-
Method Detail
-
httpHeaderName
public ListenerRuleConditionHttpHeaderArgs.Builder httpHeaderName(com.pulumi.core.Output<java.lang.String> httpHeaderName)
- Parameters:
httpHeaderName- Name of HTTP header to search. The maximum size is 40 characters. Comparison is case-insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.- Returns:
- builder
-
httpHeaderName
public ListenerRuleConditionHttpHeaderArgs.Builder httpHeaderName(java.lang.String httpHeaderName)
- Parameters:
httpHeaderName- Name of HTTP header to search. The maximum size is 40 characters. Comparison is case-insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.- Returns:
- builder
-
regexValues
public ListenerRuleConditionHttpHeaderArgs.Builder regexValues(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> regexValues)
- Parameters:
regexValues- List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with `values`.- Returns:
- builder
-
regexValues
public ListenerRuleConditionHttpHeaderArgs.Builder regexValues(java.util.List<java.lang.String> regexValues)
- Parameters:
regexValues- List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with `values`.- Returns:
- builder
-
regexValues
public ListenerRuleConditionHttpHeaderArgs.Builder regexValues(java.lang.String... regexValues)
- Parameters:
regexValues- List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with `values`.- Returns:
- builder
-
values
public ListenerRuleConditionHttpHeaderArgs.Builder values(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> values)
- Parameters:
values- List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with `regexValues`.- Returns:
- builder
-
values
public ListenerRuleConditionHttpHeaderArgs.Builder values(java.util.List<java.lang.String> values)
- Parameters:
values- List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with `regexValues`.- Returns:
- builder
-
values
public ListenerRuleConditionHttpHeaderArgs.Builder values(java.lang.String... values)
- Parameters:
values- List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with `regexValues`.- Returns:
- builder
-
build
public ListenerRuleConditionHttpHeaderArgs build()
-
-