Interface ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:19.097Z") @Stability(Stable) public interface ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Builderstatic classComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Jsii$ProxyAn implementation forComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Builderbuilder()default StringgetExactMatch()The value should exactly match contents of exactMatch.StringgetHeaderName()The name of the HTTP header to match.default ObjectgetInvertMatch()If set to false, the headerMatch is considered a match if the match criteria above are met.default StringgetPrefixMatch()The value of the header must start with the contents of prefixMatch.default ObjectgetPresentMatch()A header with the contents of headerName must exist.default ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatchesRangeMatchgetRangeMatch()range_match block.default StringgetRegexMatch()The value of the header must match the regular expression specified in regexMatch.default StringgetSuffixMatch()The value of the header must end with the contents of suffixMatch.
-
-
-
Method Detail
-
getHeaderName
@Stability(Stable) @NotNull String getHeaderName()
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". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#header_name ComputeUrlMap#header_name}
-
getExactMatch
@Stability(Stable) @Nullable default String getExactMatch()
The value should exactly match contents of exactMatch.Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#exact_match ComputeUrlMap#exact_match}
-
getInvertMatch
@Stability(Stable) @Nullable default Object getInvertMatch()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#invert_match ComputeUrlMap#invert_match}
-
getPrefixMatch
@Stability(Stable) @Nullable default String getPrefixMatch()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#prefix_match ComputeUrlMap#prefix_match}
-
getPresentMatch
@Stability(Stable) @Nullable default Object getPresentMatch()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#present_match ComputeUrlMap#present_match}
-
getRangeMatch
@Stability(Stable) @Nullable default ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatchesRangeMatch getRangeMatch()
range_match block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#range_match ComputeUrlMap#range_match}
-
getRegexMatch
@Stability(Stable) @Nullable default String getRegexMatch()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#regex_match ComputeUrlMap#regex_match}
-
getSuffixMatch
@Stability(Stable) @Nullable default String getSuffixMatch()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#suffix_match ComputeUrlMap#suffix_match}
-
builder
@Stability(Stable) static ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Builder builder()
-
-