Package com.pulumi.gcp.compute.inputs
Class RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.inputs.RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs
-
public final class RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs.Builder
builder()
static RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs.Builder
builder(RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
exactMatch()
com.pulumi.core.Output<java.lang.String>
headerName()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
invertMatch()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
prefixMatch()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
presentMatch()
java.util.Optional<com.pulumi.core.Output<RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs>>
rangeMatch()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
regexMatch()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
suffixMatch()
-
-
-
Field Detail
-
Empty
public static final RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs Empty
-
-
Method Detail
-
exactMatch
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> exactMatch()
- Returns:
- The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
-
headerName
public com.pulumi.core.Output<java.lang.String> headerName()
- Returns:
- The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method".
-
invertMatch
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> invertMatch()
- Returns:
- If set to false, the headerMatch is considered a match if the match criteria above are met. If set to true, the headerMatch is considered a match if the match criteria above are NOT met. Defaults to false.
-
prefixMatch
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> prefixMatch()
- Returns:
- The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
-
presentMatch
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> presentMatch()
- Returns:
- A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value or not. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
-
rangeMatch
public java.util.Optional<com.pulumi.core.Output<RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs>> rangeMatch()
- Returns:
- The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] * -3 will match * 0 will not match * 0.25 will not match * -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Structure is documented below.
-
regexMatch
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> regexMatch()
- Returns:
- The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
-
suffixMatch
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> suffixMatch()
- Returns:
- The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
-
builder
public static RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs.Builder builder()
-
builder
public static RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs.Builder builder(RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs defaults)
-
-