Class ZoneSigningOptions.Builder
java.lang.Object
software.amazon.awscdk.services.route53.ZoneSigningOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ZoneSigningOptions>
- Enclosing interface:
ZoneSigningOptions
@Stability(Stable)
public static final class ZoneSigningOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ZoneSigningOptions>
A builder for
ZoneSigningOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.keySigningKeyName
(String keySigningKeyName) Sets the value ofZoneSigningOptions.getKeySigningKeyName()
Sets the value ofZoneSigningOptions.getKmsKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKey
Sets the value ofZoneSigningOptions.getKmsKey()
- Parameters:
kmsKey
- The customer-managed KMS key that that will be used to sign the records. This parameter is required. The KMS Key must be unique for each KSK within a hosted zone. Additionally, the KMS key must be an asymetric customer-managed key using the ECC_NIST_P256 algorithm.- Returns:
this
-
keySigningKeyName
Sets the value ofZoneSigningOptions.getKeySigningKeyName()
- Parameters:
keySigningKeyName
- The name for the key signing key. This name must be unique within a hosted zone.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ZoneSigningOptions>
- Returns:
- a new instance of
ZoneSigningOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-