Interface AddKeyReplicationRegionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AddKeyReplicationRegionsResponse.Builder,,AddKeyReplicationRegionsResponse> PaymentCryptographyResponse.Builder,SdkBuilder<AddKeyReplicationRegionsResponse.Builder,,AddKeyReplicationRegionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AddKeyReplicationRegionsResponse
@Mutable
@NotThreadSafe
public static interface AddKeyReplicationRegionsResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<AddKeyReplicationRegionsResponse.Builder,AddKeyReplicationRegionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionkey(Consumer<Key.Builder> key) The updated key metadata after adding the replication regions.The updated key metadata after adding the replication regions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
key
The updated key metadata after adding the replication regions.
This includes the current state of the key and its replication configuration.
- Parameters:
key- The updated key metadata after adding the replication regions.This includes the current state of the key and its replication configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The updated key metadata after adding the replication regions.
This includes the current state of the key and its replication configuration.
This is a convenience method that creates an instance of theKey.Builderavoiding the need to create one manually viaKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokey(Key).- Parameters:
key- a consumer that will call methods onKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-