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 Details

    • Builder

      public Builder()
  • Method Details

    • aliasName

      @Stability(Stable) public CfnAliasProps.Builder aliasName(String aliasName)
      Parameters:
      aliasName - A friendly name that you can use to refer to a key. The value must begin with alias/ . 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

      @Stability(Stable) public CfnAliasProps.Builder keyArn(String keyArn)
      Sets the value of CfnAliasProps.getKeyArn()
      Parameters:
      keyArn - The KeyARN of the key associated with the alias.
      Returns:
      this
    • build

      @Stability(Stable) public CfnAliasProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnAliasProps>
      Returns:
      a new instance of CfnAliasProps
      Throws:
      NullPointerException - if any required attribute was not provided