Modifier and Type | Method and Description |
---|---|
UrlMap.Builder |
addAllHostRules(List<HostRule> hostRules)
The list of HostRules to use against the URL.
|
UrlMap.Builder |
addAllPathMatchers(List<PathMatcher> pathMatchers)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
addAllTests(List<UrlMapTest> tests)
The list of expected URL mapping tests.
|
UrlMap.Builder |
addHostRules(HostRule hostRules)
The list of HostRules to use against the URL.
|
UrlMap.Builder |
addPathMatchers(PathMatcher pathMatchers)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
addTests(UrlMapTest tests)
The list of expected URL mapping tests.
|
UrlMap |
build() |
UrlMap.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
HttpRouteAction |
getDefaultRouteAction()
defaultRouteAction takes effect when none of the hostRules match.
|
String |
getDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none
of the hostRules match.
|
HttpRedirectAction |
getDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by
defaultUrlRedirect.
|
String |
getDescription()
An optional description of this resource.
|
String |
getFingerprint()
Fingerprint of this resource.
|
HttpHeaderAction |
getHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected
backendService.
|
List<HostRule> |
getHostRulesList()
The list of HostRules to use against the URL.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
List<PathMatcher> |
getPathMatchersList()
The list of named PathMatchers to use against the URL.
|
String |
getRegion()
[Output Only] URL of the region where the regional URL map resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
List<UrlMapTest> |
getTestsList()
The list of expected URL mapping tests.
|
UrlMap.Builder |
mergeFrom(UrlMap other) |
UrlMap.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
UrlMap.Builder |
setDefaultRouteAction(HttpRouteAction defaultRouteAction)
defaultRouteAction takes effect when none of the hostRules match.
|
UrlMap.Builder |
setDefaultService(String defaultService)
The full or partial URL of the defaultService resource to which traffic is directed if none
of the hostRules match.
|
UrlMap.Builder |
setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
When none of the specified hostRules match, the request is redirected to a URL specified by
defaultUrlRedirect.
|
UrlMap.Builder |
setDescription(String description)
An optional description of this resource.
|
UrlMap.Builder |
setFingerprint(String fingerprint)
Fingerprint of this resource.
|
UrlMap.Builder |
setHeaderAction(HttpHeaderAction headerAction)
Specifies changes to request and response headers that need to take effect for the selected
backendService.
|
UrlMap.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
UrlMap.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
UrlMap.Builder |
setName(String name)
Name of the resource.
|
UrlMap.Builder |
setRegion(String region)
[Output Only] URL of the region where the regional URL map resides.
|
UrlMap.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
public UrlMap.Builder mergeFrom(UrlMap other)
public String getCreationTimestamp()
public UrlMap.Builder setCreationTimestamp(String creationTimestamp)
public HttpRouteAction getDefaultRouteAction()
public UrlMap.Builder setDefaultRouteAction(HttpRouteAction defaultRouteAction)
public String getDefaultService()
public UrlMap.Builder setDefaultService(String defaultService)
public HttpRedirectAction getDefaultUrlRedirect()
public UrlMap.Builder setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
public String getDescription()
public UrlMap.Builder setDescription(String description)
public String getFingerprint()
To see the latest fingerprint, make a get() request to retrieve a UrlMap.
public UrlMap.Builder setFingerprint(String fingerprint)
To see the latest fingerprint, make a get() request to retrieve a UrlMap.
public HttpHeaderAction getHeaderAction()
public UrlMap.Builder setHeaderAction(HttpHeaderAction headerAction)
public List<HostRule> getHostRulesList()
public UrlMap.Builder addAllHostRules(List<HostRule> hostRules)
public UrlMap.Builder addHostRules(HostRule hostRules)
public String getId()
public UrlMap.Builder setId(String id)
public String getKind()
public UrlMap.Builder setKind(String kind)
public String getName()
public UrlMap.Builder setName(String name)
public List<PathMatcher> getPathMatchersList()
public UrlMap.Builder addAllPathMatchers(List<PathMatcher> pathMatchers)
public UrlMap.Builder addPathMatchers(PathMatcher pathMatchers)
public String getRegion()
public UrlMap.Builder setRegion(String region)
public String getSelfLink()
public UrlMap.Builder setSelfLink(String selfLink)
public List<UrlMapTest> getTestsList()
public UrlMap.Builder addAllTests(List<UrlMapTest> tests)
public UrlMap.Builder addTests(UrlMapTest tests)
public UrlMap build()
public UrlMap.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.