public final class DnsKey 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 DNS 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 |
|---|
DnsKey() |
| Modifier and Type | Method and Description |
|---|---|
DnsKey |
clone() |
String |
getAlgorithm()
String mnemonic specifying the DNSSEC algorithm of this key.
|
String |
getCreationTime()
The time that this resource was created in the control plane.
|
String |
getDescription()
A mutable string of at most 1024 characters associated with this resource for the user's
convenience.
|
List<DnsKeyDigest> |
getDigests()
Cryptographic hashes of the DNSKEY resource record associated with this DnsKey.
|
String |
getId()
Unique identifier for the resource; defined by the server (output only).
|
Boolean |
getIsActive()
Active keys are used to sign subsequent changes to the ManagedZone.
|
Long |
getKeyLength()
Length of the key in bits.
|
Integer |
getKeyTag()
The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this
DnsKey.
|
String |
getKind() |
String |
getPublicKey()
Base64 encoded public half of this key.
|
String |
getType()
One of "KEY_SIGNING" or "ZONE_SIGNING".
|
DnsKey |
set(String fieldName,
Object value) |
DnsKey |
setAlgorithm(String algorithm)
String mnemonic specifying the DNSSEC algorithm of this key.
|
DnsKey |
setCreationTime(String creationTime)
The time that this resource was created in the control plane.
|
DnsKey |
setDescription(String description)
A mutable string of at most 1024 characters associated with this resource for the user's
convenience.
|
DnsKey |
setDigests(List<DnsKeyDigest> digests)
Cryptographic hashes of the DNSKEY resource record associated with this DnsKey.
|
DnsKey |
setId(String id)
Unique identifier for the resource; defined by the server (output only).
|
DnsKey |
setIsActive(Boolean isActive)
Active keys are used to sign subsequent changes to the ManagedZone.
|
DnsKey |
setKeyLength(Long keyLength)
Length of the key in bits.
|
DnsKey |
setKeyTag(Integer keyTag)
The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this
DnsKey.
|
DnsKey |
setKind(String kind) |
DnsKey |
setPublicKey(String publicKey)
Base64 encoded public half of this key.
|
DnsKey |
setType(String type)
One of "KEY_SIGNING" or "ZONE_SIGNING".
|
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 DnsKey setAlgorithm(String algorithm)
algorithm - algorithm or null for nonepublic String getCreationTime()
null for nonepublic DnsKey setCreationTime(String creationTime)
creationTime - creationTime or null for nonepublic String getDescription()
null for nonepublic DnsKey setDescription(String description)
description - description or null for nonepublic List<DnsKeyDigest> getDigests()
null for nonepublic DnsKey setDigests(List<DnsKeyDigest> digests)
digests - digests or null for nonepublic String getId()
null for nonepublic DnsKey setId(String id)
id - id or null for nonepublic Boolean getIsActive()
null for nonepublic DnsKey setIsActive(Boolean isActive)
isActive - isActive or null for nonepublic Long getKeyLength()
null for nonepublic DnsKey setKeyLength(Long keyLength)
keyLength - keyLength or null for nonepublic Integer getKeyTag()
null for nonepublic DnsKey setKeyTag(Integer keyTag)
keyTag - keyTag or null for nonepublic String getKind()
null for nonepublic String getPublicKey()
null for nonepublic DnsKey setPublicKey(String publicKey)
publicKey - publicKey or null for nonepublic String getType()
null for nonepublic DnsKey setType(String type)
type - type or null for nonepublic DnsKey set(String fieldName, Object value)
set in class GenericJsonpublic DnsKey clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.