public final class ConsistentHashLoadBalancerSettingsHttpCookie 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConsistentHashLoadBalancerSettingsHttpCookie() |
| Modifier and Type | Method and Description |
|---|---|
ConsistentHashLoadBalancerSettingsHttpCookie |
clone() |
String |
getName()
Name of the cookie.
|
String |
getPath()
Path to set for the cookie.
|
Duration |
getTtl()
Lifetime of the cookie.
|
ConsistentHashLoadBalancerSettingsHttpCookie |
set(String fieldName,
Object value) |
ConsistentHashLoadBalancerSettingsHttpCookie |
setName(String name)
Name of the cookie.
|
ConsistentHashLoadBalancerSettingsHttpCookie |
setPath(String path)
Path to set for the cookie.
|
ConsistentHashLoadBalancerSettingsHttpCookie |
setTtl(Duration ttl)
Lifetime of the cookie.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ConsistentHashLoadBalancerSettingsHttpCookie()
public String getName()
null for nonepublic ConsistentHashLoadBalancerSettingsHttpCookie setName(String name)
name - name or null for nonepublic String getPath()
null for nonepublic ConsistentHashLoadBalancerSettingsHttpCookie setPath(String path)
path - path or null for nonepublic Duration getTtl()
null for nonepublic ConsistentHashLoadBalancerSettingsHttpCookie setTtl(Duration ttl)
ttl - ttl or null for nonepublic ConsistentHashLoadBalancerSettingsHttpCookie set(String fieldName, Object value)
set in class GenericJsonpublic ConsistentHashLoadBalancerSettingsHttpCookie clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.