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.
|
String |
getDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none
of the hostRules match.
|
String |
getDescription()
An optional description of this resource.
|
String |
getFingerprint()
Fingerprint of this resource.
|
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 |
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 |
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 |
setDescription(String description)
An optional description of this resource.
|
UrlMap.Builder |
setFingerprint(String fingerprint)
Fingerprint of this resource.
|
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 |
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 String getDefaultService()
public UrlMap.Builder setDefaultService(String defaultService)
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 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 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.