Class UrlMapOptions.Builder
java.lang.Object
org.jclouds.googlecomputeengine.options.UrlMapOptions.Builder
- Enclosing class:
UrlMapOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the UrlMapOptions.This build option is specifically for when patching an existing UrlMap.defaultService
(URI defaultService) The URL of the BackendService resource if none of the hostRules match.description
(String description) An optional textual description of the UrlMap.fingerprint
(String fingerprint) Fingerprint of this resource.hostRules
(List<UrlMap.HostRule> hostRules) Rules for matching and directing incoming hosts.Name of the UrlMap resource.pathMatchers
(List<UrlMap.PathMatcher> pathMatchers) The list of named PathMatchers to use against the URL.tests
(List<UrlMap.UrlMapTest> tests) The list of expected URL mappings.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Name of the UrlMap resource. -
description
An optional textual description of the UrlMap. -
hostRules
Rules for matching and directing incoming hosts. -
pathMatchers
The list of named PathMatchers to use against the URL. -
tests
The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass. -
defaultService
The URL of the BackendService resource if none of the hostRules match. -
fingerprint
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. -
build
Builds the UrlMapOptions. Note: This enforces that "name" and "defaultService" are not null as the GCE API expects. If you are patching an existing UrlMap you may wish to usebuildForPatch()
instead. -
buildForPatch
This build option is specifically for when patching an existing UrlMap. If not patching an existing urlMap it is recommended that you usebuild()
.
-