@Stability(value=Stable) public static final class AliasProps.Builder extends Object implements software.amazon.jsii.Builder<AliasProps>
AliasProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AliasProps.Builder |
aliasName(String aliasName)
Sets the value of
AliasProps.getAliasName() |
AliasProps |
build()
Builds the configured instance.
|
AliasProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
AliasProps.getRemovalPolicy() |
AliasProps.Builder |
targetKey(IKey targetKey)
Sets the value of
AliasProps.getTargetKey() |
@Stability(value=Stable) public AliasProps.Builder aliasName(String aliasName)
AliasProps.getAliasName()aliasName - The name of the alias. This parameter is required.
The name must start with alias followed by a
forward slash, such as alias/. You can't specify aliases that begin with
alias/AWS. These aliases are reserved.this@Stability(value=Stable) public AliasProps.Builder targetKey(IKey targetKey)
AliasProps.getTargetKey()targetKey - The ID of the key for which you are creating the alias. This parameter is required.
Specify the key's
globally unique identifier or Amazon Resource Name (ARN). You can't
specify another alias.this@Stability(value=Stable) public AliasProps.Builder removalPolicy(RemovalPolicy removalPolicy)
AliasProps.getRemovalPolicy()removalPolicy - Policy to apply when the alias is removed from this stack.this@Stability(value=Stable) public AliasProps build()
build in interface software.amazon.jsii.Builder<AliasProps>AliasPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.