public final class AclEntry
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 Cloud SQL Admin 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 |
---|
AclEntry() |
Modifier and Type | Method and Description |
---|---|
AclEntry |
clone() |
com.google.api.client.util.DateTime |
getExpirationTime()
The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
java.lang.String |
getKind()
This is always sql#aclEntry.
|
java.lang.String |
getName()
An optional label to identify this entry.
|
java.lang.String |
getValue()
The whitelisted value for the access control list.
|
AclEntry |
set(java.lang.String fieldName,
java.lang.Object value) |
AclEntry |
setExpirationTime(com.google.api.client.util.DateTime expirationTime)
The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
AclEntry |
setKind(java.lang.String kind)
This is always sql#aclEntry.
|
AclEntry |
setName(java.lang.String name)
An optional label to identify this entry.
|
AclEntry |
setValue(java.lang.String value)
The whitelisted value for the access control list.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public com.google.api.client.util.DateTime getExpirationTime()
null
for nonepublic AclEntry setExpirationTime(com.google.api.client.util.DateTime expirationTime)
expirationTime
- expirationTime or null
for nonepublic java.lang.String getKind()
null
for nonepublic AclEntry setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic AclEntry setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getValue()
null
for nonepublic AclEntry setValue(java.lang.String value)
value
- value or null
for nonepublic AclEntry set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AclEntry clone()
clone
in class com.google.api.client.json.GenericJson