target.apidocs.com.google.api.services.dns.model.DnsKeySpec.html Maven / Gradle / Ivy
DnsKeySpec (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns.model
Class DnsKeySpec
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dns.model.DnsKeySpec
-
public final class DnsKeySpec
extends com.google.api.client.json.GenericJson
Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and
as default when adding a new DnsKey.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.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
DnsKeySpec()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DnsKeySpec
clone()
String
getAlgorithm()
String mnemonic specifying the DNSSEC algorithm of this key.
Long
getKeyLength()
Length of the keys in bits.
String
getKeyType()
Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
String
getKind()
DnsKeySpec
set(String fieldName,
Object value)
DnsKeySpec
setAlgorithm(String algorithm)
String mnemonic specifying the DNSSEC algorithm of this key.
DnsKeySpec
setKeyLength(Long keyLength)
Length of the keys in bits.
DnsKeySpec
setKeyType(String keyType)
Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
DnsKeySpec
setKind(String kind)
-
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
-
getAlgorithm
public String getAlgorithm()
String mnemonic specifying the DNSSEC algorithm of this key.
- Returns:
- value or
null
for none
-
setAlgorithm
public DnsKeySpec setAlgorithm(String algorithm)
String mnemonic specifying the DNSSEC algorithm of this key.
- Parameters:
algorithm
- algorithm or null
for none
-
getKeyLength
public Long getKeyLength()
Length of the keys in bits.
- Returns:
- value or
null
for none
-
setKeyLength
public DnsKeySpec setKeyLength(Long keyLength)
Length of the keys in bits.
- Parameters:
keyLength
- keyLength or null
for none
-
getKeyType
public String getKeyType()
Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys
have the Secure Entry Point flag set and, when active, are only used to sign resource record
sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used
to sign all other types of resource record sets.
- Returns:
- value or
null
for none
-
setKeyType
public DnsKeySpec setKeyType(String keyType)
Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys
have the Secure Entry Point flag set and, when active, are only used to sign resource record
sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used
to sign all other types of resource record sets.
- Parameters:
keyType
- keyType or null
for none
-
getKind
public String getKind()
- Returns:
- value or
null
for none
-
setKind
public DnsKeySpec setKind(String kind)
- Parameters:
kind
- kind or null
for none
-
set
public DnsKeySpec set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DnsKeySpec clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy