public final class ConsistentHashLoadBalancerSettingsHttpCookie
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ConsistentHashLoadBalancerSettingsHttpCookie() |
| Modifier and Type | Method and Description |
|---|---|
ConsistentHashLoadBalancerSettingsHttpCookie |
clone() |
java.lang.String |
getName()
Name of the cookie.
|
java.lang.String |
getPath()
Path to set for the cookie.
|
Duration |
getTtl()
Lifetime of the cookie.
|
ConsistentHashLoadBalancerSettingsHttpCookie |
set(java.lang.String fieldName,
java.lang.Object value) |
ConsistentHashLoadBalancerSettingsHttpCookie |
setName(java.lang.String name)
Name of the cookie.
|
ConsistentHashLoadBalancerSettingsHttpCookie |
setPath(java.lang.String path)
Path to set for the cookie.
|
ConsistentHashLoadBalancerSettingsHttpCookie |
setTtl(Duration ttl)
Lifetime of the cookie.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic ConsistentHashLoadBalancerSettingsHttpCookie()
public java.lang.String getName()
null for nonepublic ConsistentHashLoadBalancerSettingsHttpCookie setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPath()
null for nonepublic ConsistentHashLoadBalancerSettingsHttpCookie setPath(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ConsistentHashLoadBalancerSettingsHttpCookie clone()
clone in class com.google.api.client.json.GenericJson