Class HttpRouteRule
- java.lang.Object
-
- com.pulumi.gcp.networkservices.outputs.HttpRouteRule
-
public final class HttpRouteRule extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpRouteRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<HttpRouteRuleAction>
action()
static HttpRouteRule.Builder
builder()
static HttpRouteRule.Builder
builder(HttpRouteRule defaults)
java.util.List<HttpRouteRuleMatch>
matches()
-
-
-
Method Detail
-
action
public java.util.Optional<HttpRouteRuleAction> action()
- Returns:
- The detailed rule defining how to route matched traffic. Structure is documented below.
-
matches
public java.util.List<HttpRouteRuleMatch> matches()
- Returns:
- A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list. Structure is documented below.
-
builder
public static HttpRouteRule.Builder builder()
-
builder
public static HttpRouteRule.Builder builder(HttpRouteRule defaults)
-
-