Class DnsManagedZoneDnssecConfigDefaultKeySpecs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_managed_zone.DnsManagedZoneDnssecConfigDefaultKeySpecs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsManagedZoneDnssecConfigDefaultKeySpecs>
- Enclosing interface:
- DnsManagedZoneDnssecConfigDefaultKeySpecs
@Stability(Stable) public static final class DnsManagedZoneDnssecConfigDefaultKeySpecs.Builder extends Object implements software.amazon.jsii.Builder<DnsManagedZoneDnssecConfigDefaultKeySpecs>
A builder forDnsManagedZoneDnssecConfigDefaultKeySpecs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsManagedZoneDnssecConfigDefaultKeySpecs.Builderalgorithm(String algorithm)Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getAlgorithm()DnsManagedZoneDnssecConfigDefaultKeySpecsbuild()Builds the configured instance.DnsManagedZoneDnssecConfigDefaultKeySpecs.BuilderkeyLength(Number keyLength)Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getKeyLength()DnsManagedZoneDnssecConfigDefaultKeySpecs.BuilderkeyType(String keyType)Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getKeyType()DnsManagedZoneDnssecConfigDefaultKeySpecs.Builderkind(String kind)Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getKind()
-
-
-
Method Detail
-
algorithm
@Stability(Stable) public DnsManagedZoneDnssecConfigDefaultKeySpecs.Builder algorithm(String algorithm)
Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getAlgorithm()- Parameters:
algorithm- String mnemonic specifying the DNSSEC algorithm of this key Possible values: ["ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_managed_zone#algorithm DnsManagedZone#algorithm}- Returns:
this
-
keyLength
@Stability(Stable) public DnsManagedZoneDnssecConfigDefaultKeySpecs.Builder keyLength(Number keyLength)
Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getKeyLength()- Parameters:
keyLength- Length of the keys in bits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_managed_zone#key_length DnsManagedZone#key_length}- Returns:
this
-
keyType
@Stability(Stable) public DnsManagedZoneDnssecConfigDefaultKeySpecs.Builder keyType(String keyType)
Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getKeyType()- Parameters:
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, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets. Possible values: ["keySigning", "zoneSigning"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_managed_zone#key_type DnsManagedZone#key_type}- Returns:
this
-
kind
@Stability(Stable) public DnsManagedZoneDnssecConfigDefaultKeySpecs.Builder kind(String kind)
Sets the value ofDnsManagedZoneDnssecConfigDefaultKeySpecs.getKind()- Parameters:
kind- Identifies what kind of resource this is. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_managed_zone#kind DnsManagedZone#kind}- Returns:
this
-
build
@Stability(Stable) public DnsManagedZoneDnssecConfigDefaultKeySpecs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsManagedZoneDnssecConfigDefaultKeySpecs>- Returns:
- a new instance of
DnsManagedZoneDnssecConfigDefaultKeySpecs - Throws:
NullPointerException- if any required attribute was not provided
-
-