public final class HmacKeyMetadata 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 Cloud Storage JSON 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 |
---|
HmacKeyMetadata() |
Modifier and Type | Method and Description |
---|---|
HmacKeyMetadata |
clone() |
String |
getAccessId()
The ID of the HMAC Key.
|
String |
getEtag()
HTTP 1.1 Entity tag for the HMAC key.
|
String |
getId()
The ID of the HMAC key, including the Project ID and the Access ID.
|
String |
getKind()
The kind of item this is.
|
String |
getProjectId()
Project ID owning the service account to which the key authenticates.
|
String |
getSelfLink()
The link to this resource.
|
String |
getServiceAccountEmail()
The email address of the key's associated service account.
|
String |
getState()
The state of the key.
|
DateTime |
getTimeCreated()
The creation time of the HMAC key in RFC 3339 format.
|
DateTime |
getUpdated()
The last modification time of the HMAC key metadata in RFC 3339 format.
|
HmacKeyMetadata |
set(String fieldName,
Object value) |
HmacKeyMetadata |
setAccessId(String accessId)
The ID of the HMAC Key.
|
HmacKeyMetadata |
setEtag(String etag)
HTTP 1.1 Entity tag for the HMAC key.
|
HmacKeyMetadata |
setId(String id)
The ID of the HMAC key, including the Project ID and the Access ID.
|
HmacKeyMetadata |
setKind(String kind)
The kind of item this is.
|
HmacKeyMetadata |
setProjectId(String projectId)
Project ID owning the service account to which the key authenticates.
|
HmacKeyMetadata |
setSelfLink(String selfLink)
The link to this resource.
|
HmacKeyMetadata |
setServiceAccountEmail(String serviceAccountEmail)
The email address of the key's associated service account.
|
HmacKeyMetadata |
setState(String state)
The state of the key.
|
HmacKeyMetadata |
setTimeCreated(DateTime timeCreated)
The creation time of the HMAC key in RFC 3339 format.
|
HmacKeyMetadata |
setUpdated(DateTime updated)
The last modification time of the HMAC key metadata in RFC 3339 format.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccessId()
null
for nonepublic HmacKeyMetadata setAccessId(String accessId)
accessId
- accessId or null
for nonepublic String getEtag()
null
for nonepublic HmacKeyMetadata setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic HmacKeyMetadata setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic HmacKeyMetadata setKind(String kind)
kind
- kind or null
for nonepublic String getProjectId()
null
for nonepublic HmacKeyMetadata setProjectId(String projectId)
projectId
- projectId or null
for nonepublic String getSelfLink()
null
for nonepublic HmacKeyMetadata setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getServiceAccountEmail()
null
for nonepublic HmacKeyMetadata setServiceAccountEmail(String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic String getState()
null
for nonepublic HmacKeyMetadata setState(String state)
state
- state or null
for nonepublic DateTime getTimeCreated()
null
for nonepublic HmacKeyMetadata setTimeCreated(DateTime timeCreated)
timeCreated
- timeCreated or null
for nonepublic DateTime getUpdated()
null
for nonepublic HmacKeyMetadata setUpdated(DateTime updated)
updated
- updated or null
for nonepublic HmacKeyMetadata set(String fieldName, Object value)
set
in class GenericJson
public HmacKeyMetadata clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.