public static class UrlMapOptions.Builder extends Object
Constructor and Description |
---|
UrlMapOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
UrlMapOptions |
build()
Builds the UrlMapOptions.
|
UrlMapOptions |
buildForPatch()
This build option is specifically for when patching an existing UrlMap.
|
UrlMapOptions.Builder |
defaultService(URI defaultService)
The URL of the BackendService resource if none of the hostRules match.
|
UrlMapOptions.Builder |
description(String description)
An optional textual description of the UrlMap.
|
UrlMapOptions.Builder |
fingerprint(String fingerprint)
Fingerprint of this resource.
|
UrlMapOptions.Builder |
hostRules(List<UrlMap.HostRule> hostRules)
Rules for matching and directing incoming hosts.
|
UrlMapOptions.Builder |
name(String name)
Name of the UrlMap resource.
|
UrlMapOptions.Builder |
pathMatchers(List<UrlMap.PathMatcher> pathMatchers)
The list of named PathMatchers to use against the URL.
|
UrlMapOptions.Builder |
tests(List<UrlMap.UrlMapTest> tests)
The list of expected URL mappings.
|
public UrlMapOptions.Builder name(String name)
public UrlMapOptions.Builder description(String description)
public UrlMapOptions.Builder hostRules(List<UrlMap.HostRule> hostRules)
public UrlMapOptions.Builder pathMatchers(List<UrlMap.PathMatcher> pathMatchers)
public UrlMapOptions.Builder tests(List<UrlMap.UrlMapTest> tests)
public UrlMapOptions.Builder defaultService(URI defaultService)
public UrlMapOptions.Builder fingerprint(String fingerprint)
public UrlMapOptions build()
buildForPatch()
instead.public UrlMapOptions buildForPatch()
build()
.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.