Interface ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.872Z") @Stability(Stable) public interface ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Builderstatic classComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Jsii$ProxyAn implementation forComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.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 ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatchesRangeMatchgetRangeMatch()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_region_url_map#header_name ComputeRegionUrlMap#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_region_url_map#exact_match ComputeRegionUrlMap#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_region_url_map#invert_match ComputeRegionUrlMap#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_region_url_map#prefix_match ComputeRegionUrlMap#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_region_url_map#present_match ComputeRegionUrlMap#present_match}
-
getRangeMatch
@Stability(Stable) @Nullable default ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatchesRangeMatch getRangeMatch()
range_match block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#range_match ComputeRegionUrlMap#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_region_url_map#regex_match ComputeRegionUrlMap#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_region_url_map#suffix_match ComputeRegionUrlMap#suffix_match}
-
builder
@Stability(Stable) static ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches.Builder builder()
-
-