Package com.google.cloud.dns
Class ZoneInfo.KeySpec.Builder
- java.lang.Object
-
- com.google.cloud.dns.ZoneInfo.KeySpec.Builder
-
- Enclosing class:
- ZoneInfo.KeySpec
public static class ZoneInfo.KeySpec.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZoneInfo.KeySpecbuild()Creates aKeySpecobject.ZoneInfo.KeySpec.BuildersetAlgorithm(String algorithm)Specifies the DNSSEC algorithm of this key.ZoneInfo.KeySpec.BuildersetKeyLength(Long keyLength)Specifies the length of the keys in bits.ZoneInfo.KeySpec.BuildersetKeyType(String keyType)Specifies the key type, Whether this key is a signing key (KSK) or a zone signing key (ZSK).
-
-
-
Method Detail
-
setAlgorithm
public ZoneInfo.KeySpec.Builder setAlgorithm(String algorithm)
Specifies the DNSSEC algorithm of this key.
-
setKeyLength
public ZoneInfo.KeySpec.Builder setKeyLength(Long keyLength)
Specifies the length of the keys in bits.
-
setKeyType
public ZoneInfo.KeySpec.Builder setKeyType(String keyType)
Specifies the key type, Whether this key is a signing key (KSK) or a zone signing key (ZSK).
-
build
public ZoneInfo.KeySpec build()
Creates aKeySpecobject.
-
-