public final class HmacKey
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 Storage JSON 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HmacKey() |
Modifier and Type | Method and Description |
---|---|
HmacKey |
clone() |
String |
getKind()
The kind of item this is.
|
HmacKeyMetadata |
getMetadata()
Key metadata.
|
String |
getSecret()
HMAC secret key material.
|
HmacKey |
set(String fieldName,
Object value) |
HmacKey |
setKind(String kind)
The kind of item this is.
|
HmacKey |
setMetadata(HmacKeyMetadata metadata)
Key metadata.
|
HmacKey |
setSecret(String secret)
HMAC secret key material.
|
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 getKind()
null
for nonepublic HmacKey setKind(String kind)
kind
- kind or null
for nonepublic HmacKeyMetadata getMetadata()
null
for nonepublic HmacKey setMetadata(HmacKeyMetadata metadata)
metadata
- metadata or null
for nonepublic String getSecret()
null
for nonepublic HmacKey setSecret(String secret)
secret
- secret or null
for nonepublic HmacKey set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public HmacKey clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.