Modifier and Type | Method and Description |
---|---|
HostRule.Builder |
addAllHosts(List<String> hosts)
The list of host patterns to match.
|
HostRule.Builder |
addHosts(String hosts)
The list of host patterns to match.
|
HostRule |
build() |
HostRule.Builder |
clone() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getHostsList()
The list of host patterns to match.
|
String |
getPathMatcher()
The name of the PathMatcher to use to match the path portion of the URL if the hostRule
matches the URL's host portion.
|
HostRule.Builder |
mergeFrom(HostRule other) |
HostRule.Builder |
setDescription(String description)
An optional description of this resource.
|
HostRule.Builder |
setPathMatcher(String pathMatcher)
The name of the PathMatcher to use to match the path portion of the URL if the hostRule
matches the URL's host portion.
|
public HostRule.Builder mergeFrom(HostRule other)
public String getDescription()
public HostRule.Builder setDescription(String description)
public List<String> getHostsList()
public HostRule.Builder addAllHosts(List<String> hosts)
public HostRule.Builder addHosts(String hosts)
public String getPathMatcher()
public HostRule.Builder setPathMatcher(String pathMatcher)
public HostRule build()
public HostRule.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.