All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dns.model.DnsKeySpec.html Maven / Gradle / Ivy

There is a newer version: v2-rev20220505-1.32.1
Show newest version






DnsKeySpec (Cloud DNS API v1-rev20240118-2.0.0)












com.google.api.services.dns.model

Class DnsKeySpec

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • DnsKeySpec

        public DnsKeySpec()
    • 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