Package com.pulumi.gcp.compute.inputs
Class URLMapPathMatcherRouteRuleMatchRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.compute.inputs.URLMapPathMatcherRouteRuleMatchRuleArgs.Builder
-
- Enclosing class:
- URLMapPathMatcherRouteRuleMatchRuleArgs
public static final class URLMapPathMatcherRouteRuleMatchRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(URLMapPathMatcherRouteRuleMatchRuleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(URLMapPathMatcherRouteRuleMatchRuleArgs defaults)
-
-
Method Detail
-
fullPathMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder fullPathMatch(@Nullable com.pulumi.core.Output<java.lang.String> fullPathMatch)
- Parameters:
fullPathMatch
- For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.- Returns:
- builder
-
fullPathMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder fullPathMatch(java.lang.String fullPathMatch)
- Parameters:
fullPathMatch
- For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.- Returns:
- builder
-
headerMatches
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder headerMatches(@Nullable com.pulumi.core.Output<java.util.List<URLMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs>> headerMatches)
- Parameters:
headerMatches
- Specifies a list of header match criteria, all of which must match corresponding headers in the request. Structure is documented below.- Returns:
- builder
-
headerMatches
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder headerMatches(java.util.List<URLMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs> headerMatches)
- Parameters:
headerMatches
- Specifies a list of header match criteria, all of which must match corresponding headers in the request. Structure is documented below.- Returns:
- builder
-
headerMatches
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder headerMatches(URLMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs... headerMatches)
- Parameters:
headerMatches
- Specifies a list of header match criteria, all of which must match corresponding headers in the request. Structure is documented below.- Returns:
- builder
-
ignoreCase
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder ignoreCase(@Nullable com.pulumi.core.Output<java.lang.Boolean> ignoreCase)
- Parameters:
ignoreCase
- Specifies that prefixMatch and fullPathMatch matches are case sensitive. Defaults to false.- Returns:
- builder
-
ignoreCase
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder ignoreCase(java.lang.Boolean ignoreCase)
- Parameters:
ignoreCase
- Specifies that prefixMatch and fullPathMatch matches are case sensitive. Defaults to false.- Returns:
- builder
-
metadataFilters
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder metadataFilters(@Nullable com.pulumi.core.Output<java.util.List<URLMapPathMatcherRouteRuleMatchRuleMetadataFilterArgs>> metadataFilters)
- Parameters:
metadataFilters
- Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set xDS compliant clients. In their xDS requests to Loadbalancer, xDS clients present node metadata. If a match takes place, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels in the provided metadata. metadataFilters specified here can be overrides those specified in ForwardingRule that refers to this UrlMap. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED. Structure is documented below.- Returns:
- builder
-
metadataFilters
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder metadataFilters(java.util.List<URLMapPathMatcherRouteRuleMatchRuleMetadataFilterArgs> metadataFilters)
- Parameters:
metadataFilters
- Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set xDS compliant clients. In their xDS requests to Loadbalancer, xDS clients present node metadata. If a match takes place, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels in the provided metadata. metadataFilters specified here can be overrides those specified in ForwardingRule that refers to this UrlMap. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED. Structure is documented below.- Returns:
- builder
-
metadataFilters
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder metadataFilters(URLMapPathMatcherRouteRuleMatchRuleMetadataFilterArgs... metadataFilters)
- Parameters:
metadataFilters
- Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set xDS compliant clients. In their xDS requests to Loadbalancer, xDS clients present node metadata. If a match takes place, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels in the provided metadata. metadataFilters specified here can be overrides those specified in ForwardingRule that refers to this UrlMap. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED. Structure is documented below.- Returns:
- builder
-
pathTemplateMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder pathTemplateMatch(@Nullable com.pulumi.core.Output<java.lang.String> pathTemplateMatch)
- Parameters:
pathTemplateMatch
- For satisfying the matchRule condition, the path of the request must match the wildcard pattern specified in pathTemplateMatch after removing any query parameters and anchor that may be part of the original URL. pathTemplateMatch must be between 1 and 255 characters (inclusive). The pattern specified by pathTemplateMatch may have at most 5 wildcard operators and at most 5 variable captures in total.- Returns:
- builder
-
pathTemplateMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder pathTemplateMatch(java.lang.String pathTemplateMatch)
- Parameters:
pathTemplateMatch
- For satisfying the matchRule condition, the path of the request must match the wildcard pattern specified in pathTemplateMatch after removing any query parameters and anchor that may be part of the original URL. pathTemplateMatch must be between 1 and 255 characters (inclusive). The pattern specified by pathTemplateMatch may have at most 5 wildcard operators and at most 5 variable captures in total.- Returns:
- builder
-
prefixMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder prefixMatch(@Nullable com.pulumi.core.Output<java.lang.String> prefixMatch)
- Parameters:
prefixMatch
- For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.- Returns:
- builder
-
prefixMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder prefixMatch(java.lang.String prefixMatch)
- Parameters:
prefixMatch
- For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.- Returns:
- builder
-
queryParameterMatches
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder queryParameterMatches(@Nullable com.pulumi.core.Output<java.util.List<URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatchArgs>> queryParameterMatches)
- Parameters:
queryParameterMatches
- Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Structure is documented below.- Returns:
- builder
-
queryParameterMatches
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder queryParameterMatches(java.util.List<URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatchArgs> queryParameterMatches)
- Parameters:
queryParameterMatches
- Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Structure is documented below.- Returns:
- builder
-
queryParameterMatches
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder queryParameterMatches(URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatchArgs... queryParameterMatches)
- Parameters:
queryParameterMatches
- Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Structure is documented below.- Returns:
- builder
-
regexMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder regexMatch(@Nullable com.pulumi.core.Output<java.lang.String> regexMatch)
- Parameters:
regexMatch
- For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch, fullPathMatch or regexMatch must be specified.- Returns:
- builder
-
regexMatch
public URLMapPathMatcherRouteRuleMatchRuleArgs.Builder regexMatch(java.lang.String regexMatch)
- Parameters:
regexMatch
- For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch, fullPathMatch or regexMatch must be specified.- Returns:
- builder
-
build
public URLMapPathMatcherRouteRuleMatchRuleArgs build()
-
-