@Generated(value="by GAPIC") @BetaApi public final class HttpRouteRule extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpRouteRule.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static HttpRouteRule |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
HttpHeaderAction |
getHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected
backendService.
|
List<HttpRouteRuleMatch> |
getMatchRulesList() |
HttpRouteAction |
getRouteAction()
In response to a matching matchRule, the load balancer performs advanced routing actions like
URL rewrites, header transformations, etc.
|
String |
getService()
The full or partial URL of the backend service resource to which traffic is directed if this
rule is matched.
|
HttpRedirectAction |
getUrlRedirect()
When this rule is matched, the request is redirected to a URL specified by urlRedirect.
|
int |
hashCode() |
static HttpRouteRule.Builder |
newBuilder() |
static HttpRouteRule.Builder |
newBuilder(HttpRouteRule prototype) |
HttpRouteRule.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public HttpHeaderAction getHeaderAction()
public List<HttpRouteRuleMatch> getMatchRulesList()
public HttpRouteAction getRouteAction()
public String getService()
public HttpRedirectAction getUrlRedirect()
public static HttpRouteRule.Builder newBuilder()
public static HttpRouteRule.Builder newBuilder(HttpRouteRule prototype)
public HttpRouteRule.Builder toBuilder()
public static HttpRouteRule getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.