Class CfnAliasMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.paymentcryptography.CfnAliasMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAliasMixinProps>
- Enclosing interface:
CfnAliasMixinProps
@Stability(Stable)
public static final class CfnAliasMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAliasMixinProps>
A builder for
CfnAliasMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAliasMixinProps.getAliasName()build()Builds the configured instance.Sets the value ofCfnAliasMixinProps.getKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aliasName
Sets the value ofCfnAliasMixinProps.getAliasName()- Parameters:
aliasName- A friendly name that you can use to refer to a key. The value must begin withalias/.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 ofCfnAliasMixinProps.getKeyArn()- Parameters:
keyArn- TheKeyARNof the key associated with the alias.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAliasMixinProps>- Returns:
- a new instance of
CfnAliasMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-