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 Details

    • Builder

      public Builder()
  • Method Details

    • kmsKey

      @Stability(Stable) public ZoneSigningOptions.Builder kmsKey(IKey kmsKey)
      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

      @Stability(Stable) public ZoneSigningOptions.Builder keySigningKeyName(String keySigningKeyName)
      Parameters:
      keySigningKeyName - The name for the key signing key. This name must be unique within a hosted zone.
      Returns:
      this
    • build

      @Stability(Stable) public ZoneSigningOptions build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<ZoneSigningOptions>
      Returns:
      a new instance of ZoneSigningOptions
      Throws:
      NullPointerException - if any required attribute was not provided