public final class CryptoKeyVersion 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 Key Management Service (KMS) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CryptoKeyVersion() |
| Modifier and Type | Method and Description |
|---|---|
CryptoKeyVersion |
clone() |
String |
getAlgorithm()
Output only.
|
KeyOperationAttestation |
getAttestation()
Output only.
|
String |
getCreateTime()
Output only.
|
String |
getDestroyEventTime()
Output only.
|
String |
getDestroyTime()
Output only.
|
ExternalProtectionLevelOptions |
getExternalProtectionLevelOptions()
ExternalProtectionLevelOptions stores a group of additional fields for configuring a
CryptoKeyVersion that are specific to the EXTERNAL protection level.
|
String |
getGenerateTime()
Output only.
|
String |
getImportFailureReason()
Output only.
|
String |
getImportJob()
Output only.
|
String |
getImportTime()
Output only.
|
String |
getName()
Output only.
|
String |
getProtectionLevel()
Output only.
|
String |
getState()
The current state of the CryptoKeyVersion.
|
CryptoKeyVersion |
set(String fieldName,
Object value) |
CryptoKeyVersion |
setAlgorithm(String algorithm)
Output only.
|
CryptoKeyVersion |
setAttestation(KeyOperationAttestation attestation)
Output only.
|
CryptoKeyVersion |
setCreateTime(String createTime)
Output only.
|
CryptoKeyVersion |
setDestroyEventTime(String destroyEventTime)
Output only.
|
CryptoKeyVersion |
setDestroyTime(String destroyTime)
Output only.
|
CryptoKeyVersion |
setExternalProtectionLevelOptions(ExternalProtectionLevelOptions externalProtectionLevelOptions)
ExternalProtectionLevelOptions stores a group of additional fields for configuring a
CryptoKeyVersion that are specific to the EXTERNAL protection level.
|
CryptoKeyVersion |
setGenerateTime(String generateTime)
Output only.
|
CryptoKeyVersion |
setImportFailureReason(String importFailureReason)
Output only.
|
CryptoKeyVersion |
setImportJob(String importJob)
Output only.
|
CryptoKeyVersion |
setImportTime(String importTime)
Output only.
|
CryptoKeyVersion |
setName(String name)
Output only.
|
CryptoKeyVersion |
setProtectionLevel(String protectionLevel)
Output only.
|
CryptoKeyVersion |
setState(String state)
The current state of the CryptoKeyVersion.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAlgorithm()
null for nonepublic CryptoKeyVersion setAlgorithm(String algorithm)
algorithm - algorithm or null for nonepublic KeyOperationAttestation getAttestation()
null for nonepublic CryptoKeyVersion setAttestation(KeyOperationAttestation attestation)
attestation - attestation or null for nonepublic String getCreateTime()
null for nonepublic CryptoKeyVersion setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDestroyEventTime()
null for nonepublic CryptoKeyVersion setDestroyEventTime(String destroyEventTime)
destroyEventTime - destroyEventTime or null for nonepublic String getDestroyTime()
null for nonepublic CryptoKeyVersion setDestroyTime(String destroyTime)
destroyTime - destroyTime or null for nonepublic ExternalProtectionLevelOptions getExternalProtectionLevelOptions()
null for nonepublic CryptoKeyVersion setExternalProtectionLevelOptions(ExternalProtectionLevelOptions externalProtectionLevelOptions)
externalProtectionLevelOptions - externalProtectionLevelOptions or null for nonepublic String getGenerateTime()
null for nonepublic CryptoKeyVersion setGenerateTime(String generateTime)
generateTime - generateTime or null for nonepublic String getImportFailureReason()
null for nonepublic CryptoKeyVersion setImportFailureReason(String importFailureReason)
importFailureReason - importFailureReason or null for nonepublic String getImportJob()
null for nonepublic CryptoKeyVersion setImportJob(String importJob)
importJob - importJob or null for nonepublic String getImportTime()
null for nonepublic CryptoKeyVersion setImportTime(String importTime)
importTime - importTime or null for nonepublic String getName()
null for nonepublic CryptoKeyVersion setName(String name)
name - name or null for nonepublic String getProtectionLevel()
null for nonepublic CryptoKeyVersion setProtectionLevel(String protectionLevel)
protectionLevel - protectionLevel or null for nonepublic String getState()
null for nonepublic CryptoKeyVersion setState(String state)
state - state or null for nonepublic CryptoKeyVersion set(String fieldName, Object value)
set in class GenericJsonpublic CryptoKeyVersion clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.