Class CfnAliasProps.Builder
java.lang.Object
software.amazon.awscdk.services.paymentcryptography.CfnAliasProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAliasProps>
- Enclosing interface:
CfnAliasProps
@Stability(Stable)
public static final class CfnAliasProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAliasProps>
A builder for
CfnAliasProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAliasProps.getAliasName()
build()
Builds the configured instance.Sets the value ofCfnAliasProps.getKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aliasName
Sets the value ofCfnAliasProps.getAliasName()
- Parameters:
aliasName
- A friendly name that you can use to refer to a key. The value must begin withalias/
. This parameter is required.Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
- Returns:
this
-
keyArn
Sets the value ofCfnAliasProps.getKeyArn()
- Parameters:
keyArn
- TheKeyARN
of the key associated with the alias.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAliasProps>
- Returns:
- a new instance of
CfnAliasProps
- Throws:
NullPointerException
- if any required attribute was not provided
-