Interface CreateAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAliasRequest.Builder,
,CreateAliasRequest> PaymentCryptographyRequest.Builder
,SdkBuilder<CreateAliasRequest.Builder,
,CreateAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAliasRequest
@Mutable
@NotThreadSafe
public static interface CreateAliasRequest.Builder
extends PaymentCryptographyRequest.Builder, SdkPojo, CopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA friendly name that you can use to refer to a key.TheKeyARN
of the key to associate with the alias.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
aliasName
A friendly name that you can use to refer to a key. An alias must begin with
alias/
followed by a name, for examplealias/ExampleAlias
. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
- Parameters:
aliasName
- A friendly name that you can use to refer to a key. An alias must begin withalias/
followed by a name, for examplealias/ExampleAlias
. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyArn
The
KeyARN
of the key to associate with the alias.- Parameters:
keyArn
- TheKeyARN
of the key to associate with the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-