Interface CreateAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAliasResponse.Builder,
,CreateAliasResponse> PaymentCryptographyResponse.Builder
,SdkBuilder<CreateAliasResponse.Builder,
,CreateAliasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAliasResponse
@Mutable
@NotThreadSafe
public static interface CreateAliasResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<CreateAliasResponse.Builder,CreateAliasResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAliasResponse.Builder
alias
(Consumer<Alias.Builder> alias) The alias for the key.The alias for the key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
alias
The alias for the key.
- Parameters:
alias
- The alias for the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
The alias for the key.
This is a convenience method that creates an instance of theAlias.Builder
avoiding the need to create one manually viaAlias.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalias(Alias)
.- Parameters:
alias
- a consumer that will call methods onAlias.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-