CopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
, SdkBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
public static interface CreateAliasRequest.Builder extends CopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateAliasRequest.Builder |
aliasName(String aliasName) |
String that contains the display name.
|
CreateAliasRequest.Builder |
targetKeyId(String targetKeyId) |
An identifier of the key for which you are creating the alias.
|
copy
apply, build
CreateAliasRequest.Builder aliasName(String aliasName)
String that contains the display name. The name must start with the word "alias" followed by a forward slash (alias/). Aliases that begin with "alias/AWS" are reserved.
aliasName
- String that contains the display name. The name must start with the word "alias" followed by a forward
slash (alias/). Aliases that begin with "alias/AWS" are reserved.CreateAliasRequest.Builder targetKeyId(String targetKeyId)
An identifier of the key for which you are creating the alias. This value cannot be another alias but can be a globally unique identifier or a fully specified ARN to a key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
targetKeyId
- An identifier of the key for which you are creating the alias. This value cannot be another alias but
can be a globally unique identifier or a fully specified ARN to a key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.