public static interface ReplicateKeyResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ReplicateKeyResponse.Builder,ReplicateKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
default ReplicateKeyResponse.Builder |
replicaKeyMetadata(Consumer<KeyMetadata.Builder> replicaKeyMetadata)
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys.
|
ReplicateKeyResponse.Builder |
replicaKeyMetadata(KeyMetadata replicaKeyMetadata)
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys.
|
ReplicateKeyResponse.Builder |
replicaPolicy(String replicaPolicy)
The key policy of the new replica key.
|
ReplicateKeyResponse.Builder |
replicaTags(Collection<Tag> replicaTags)
The tags on the new replica key.
|
ReplicateKeyResponse.Builder |
replicaTags(Consumer<Tag.Builder>... replicaTags)
The tags on the new replica key.
|
ReplicateKeyResponse.Builder |
replicaTags(Tag... replicaTags)
The tags on the new replica key.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildReplicateKeyResponse.Builder replicaKeyMetadata(KeyMetadata replicaKeyMetadata)
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
replicaKeyMetadata - Displays details about the new replica key, including its Amazon Resource Name (key ARN)
and Key states of KMS
keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica
keys.default ReplicateKeyResponse.Builder replicaKeyMetadata(Consumer<KeyMetadata.Builder> replicaKeyMetadata)
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
This is a convenience method that creates an instance of theKeyMetadata.Builder avoiding the need to
create one manually via KeyMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to replicaKeyMetadata(KeyMetadata).
replicaKeyMetadata - a consumer that will call methods on KeyMetadata.BuilderreplicaKeyMetadata(KeyMetadata)ReplicateKeyResponse.Builder replicaPolicy(String replicaPolicy)
The key policy of the new replica key. The value is a key policy document in JSON format.
replicaPolicy - The key policy of the new replica key. The value is a key policy document in JSON format.ReplicateKeyResponse.Builder replicaTags(Collection<Tag> replicaTags)
The tags on the new replica key. The value is a list of tag key and tag value pairs.
replicaTags - The tags on the new replica key. The value is a list of tag key and tag value pairs.ReplicateKeyResponse.Builder replicaTags(Tag... replicaTags)
The tags on the new replica key. The value is a list of tag key and tag value pairs.
replicaTags - The tags on the new replica key. The value is a list of tag key and tag value pairs.ReplicateKeyResponse.Builder replicaTags(Consumer<Tag.Builder>... replicaTags)
The tags on the new replica key. The value is a list of tag key and tag value pairs.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #replicaTags(List.
replicaTags - a consumer that will call methods on Tag.Builder#replicaTags(java.util.Collection) Copyright © 2023. All rights reserved.