public final class PathMatcher extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PathMatcher() |
Modifier and Type | Method and Description |
---|---|
PathMatcher |
clone() |
String |
getDefaultService()
The full or partial URL to the BackendService resource.
|
String |
getDescription()
An optional description of this resource.
|
String |
getName()
The name to which this PathMatcher is referred by the HostRule.
|
List<PathRule> |
getPathRules()
The list of path rules.
|
PathMatcher |
set(String fieldName,
Object value) |
PathMatcher |
setDefaultService(String defaultService)
The full or partial URL to the BackendService resource.
|
PathMatcher |
setDescription(String description)
An optional description of this resource.
|
PathMatcher |
setName(String name)
The name to which this PathMatcher is referred by the HostRule.
|
PathMatcher |
setPathRules(List<PathRule> pathRules)
The list of path rules.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDefaultService()
null
for nonepublic PathMatcher setDefaultService(String defaultService)
defaultService
- defaultService or null
for nonepublic String getDescription()
null
for nonepublic PathMatcher setDescription(String description)
description
- description or null
for nonepublic String getName()
null
for nonepublic PathMatcher setName(String name)
name
- name or null
for nonepublic List<PathRule> getPathRules()
null
for nonepublic PathMatcher setPathRules(List<PathRule> pathRules)
pathRules
- pathRules or null
for nonepublic PathMatcher set(String fieldName, Object value)
set
in class GenericJson
public PathMatcher clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.