Class KeySigningKeyReference.Builder
java.lang.Object
software.amazon.awscdk.services.route53.KeySigningKeyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeySigningKeyReference>
- Enclosing interface:
KeySigningKeyReference
@Stability(Stable)
public static final class KeySigningKeyReference.Builder
extends Object
implements software.amazon.jsii.Builder<KeySigningKeyReference>
A builder for
KeySigningKeyReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hostedZoneId(String hostedZoneId) Sets the value ofKeySigningKeyReference.getHostedZoneId()keySigningKeyName(String keySigningKeyName) Sets the value ofKeySigningKeyReference.getKeySigningKeyName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostedZoneId
Sets the value ofKeySigningKeyReference.getHostedZoneId()- Parameters:
hostedZoneId- The HostedZoneId of the KeySigningKey resource. This parameter is required.- Returns:
this
-
keySigningKeyName
@Stability(Stable) public KeySigningKeyReference.Builder keySigningKeyName(String keySigningKeyName) Sets the value ofKeySigningKeyReference.getKeySigningKeyName()- Parameters:
keySigningKeyName- The Name of the KeySigningKey resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeySigningKeyReference>- Returns:
- a new instance of
KeySigningKeyReference - Throws:
NullPointerException- if any required attribute was not provided
-