Class KeySigningKeyAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.route53.KeySigningKeyAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeySigningKeyAttributes>
- Enclosing interface:
KeySigningKeyAttributes
@Stability(Stable)
public static final class KeySigningKeyAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<KeySigningKeyAttributes>
A builder for
KeySigningKeyAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hostedZone(IHostedZone hostedZone) Sets the value ofKeySigningKeyAttributes.getHostedZone()keySigningKeyName(String keySigningKeyName) Sets the value ofKeySigningKeyAttributes.getKeySigningKeyName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostedZone
Sets the value ofKeySigningKeyAttributes.getHostedZone()- Parameters:
hostedZone- The hosted zone that the key signing key signs. This parameter is required.- Returns:
this
-
keySigningKeyName
@Stability(Stable) public KeySigningKeyAttributes.Builder keySigningKeyName(String keySigningKeyName) Sets the value ofKeySigningKeyAttributes.getKeySigningKeyName()- Parameters:
keySigningKeyName- The name of the key signing key. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeySigningKeyAttributes>- Returns:
- a new instance of
KeySigningKeyAttributes - Throws:
NullPointerException- if any required attribute was not provided
-