target.apidocs.com.google.api.services.sql.model.AclEntry.html Maven / Gradle / Ivy
AclEntry (Cloud SQL Admin API v1beta4-rev20201026-1.30.10)
com.google.api.services.sql.model
Class AclEntry
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sql.model.AclEntry
-
public final class AclEntry
extends GenericJson
An entry for an Access Control list.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AclEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AclEntry
clone()
String
getExpirationTime()
The time when this access control entry expires in RFC 3339 format, for example
*2012-11-15T16:19:00.094Z*.
String
getKind()
This is always *sql#aclEntry*.
String
getName()
Optional.
String
getValue()
The allowlisted value for the access control list.
AclEntry
set(String fieldName,
Object value)
AclEntry
setExpirationTime(String expirationTime)
The time when this access control entry expires in RFC 3339 format, for example
*2012-11-15T16:19:00.094Z*.
AclEntry
setKind(String kind)
This is always *sql#aclEntry*.
AclEntry
setName(String name)
Optional.
AclEntry
setValue(String value)
The allowlisted value for the access control list.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getExpirationTime
public String getExpirationTime()
The time when this access control entry expires in RFC 3339 format, for example
*2012-11-15T16:19:00.094Z*.
- Returns:
- value or
null
for none
-
setExpirationTime
public AclEntry setExpirationTime(String expirationTime)
The time when this access control entry expires in RFC 3339 format, for example
*2012-11-15T16:19:00.094Z*.
- Parameters:
expirationTime
- expirationTime or null
for none
-
getKind
public String getKind()
This is always *sql#aclEntry*.
- Returns:
- value or
null
for none
-
setKind
public AclEntry setKind(String kind)
This is always *sql#aclEntry*.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
Optional. A label to identify this entry.
- Returns:
- value or
null
for none
-
setName
public AclEntry setName(String name)
Optional. A label to identify this entry.
- Parameters:
name
- name or null
for none
-
getValue
public String getValue()
The allowlisted value for the access control list.
- Returns:
- value or
null
for none
-
setValue
public AclEntry setValue(String value)
The allowlisted value for the access control list.
- Parameters:
value
- value or null
for none
-
set
public AclEntry set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AclEntry clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.