Class CfnKeySigningKeyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnKeySigningKeyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeySigningKeyMixinProps>
- Enclosing interface:
CfnKeySigningKeyMixinProps
@Stability(Stable)
public static final class CfnKeySigningKeyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeySigningKeyMixinProps>
A builder for
CfnKeySigningKeyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hostedZoneId(String hostedZoneId) Sets the value ofCfnKeySigningKeyMixinProps.getHostedZoneId()keyManagementServiceArn(String keyManagementServiceArn) Sets the value ofCfnKeySigningKeyMixinProps.getKeyManagementServiceArn()Sets the value ofCfnKeySigningKeyMixinProps.getName()Sets the value ofCfnKeySigningKeyMixinProps.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostedZoneId
Sets the value ofCfnKeySigningKeyMixinProps.getHostedZoneId()- Parameters:
hostedZoneId- The unique string (ID) that is used to identify a hosted zone. For example:Z00001111A1ABCaaABC11.- Returns:
this
-
keyManagementServiceArn
@Stability(Stable) public CfnKeySigningKeyMixinProps.Builder keyManagementServiceArn(String keyManagementServiceArn) Sets the value ofCfnKeySigningKeyMixinProps.getKeyManagementServiceArn()- Parameters:
keyManagementServiceArn- The Amazon resource name (ARN) for a customer managed customer master key (CMK) in AWS Key Management Service ( AWS ). TheKeyManagementServiceArnmust be unique for each key-signing key (KSK) in a single hosted zone. For example:arn:aws:kms:us-east-1:111122223333:key/111a2222-a11b-1ab1-2ab2-1ab21a2b3a111.- Returns:
this
-
name
Sets the value ofCfnKeySigningKeyMixinProps.getName()- Parameters:
name- A string used to identify a key-signing key (KSK).Namecan include numbers, letters, and underscores (_).Namemust be unique for each key-signing key in the same hosted zone.- Returns:
this
-
status
Sets the value ofCfnKeySigningKeyMixinProps.getStatus()- Parameters:
status- A string that represents the current key-signing key (KSK) status. Status can have one of the following values:- ACTIVE - The KSK is being used for signing.
- INACTIVE - The KSK is not being used for signing.
- DELETING - The KSK is in the process of being deleted.
- ACTION_NEEDED - There is a problem with the KSK that requires you to take action to resolve. For example, the customer managed key might have been deleted, or the permissions for the customer managed key might have been changed.
- INTERNAL_FAILURE - There was an error during a request. Before you can continue to work with DNSSEC signing, including actions that involve this KSK, you must correct the problem. For example, you may need to activate or deactivate the KSK.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeySigningKeyMixinProps>- Returns:
- a new instance of
CfnKeySigningKeyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-