Interface ReplicateKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ReplicateKeyResponse.Builder,,ReplicateKeyResponse> KmsResponse.Builder,SdkBuilder<ReplicateKeyResponse.Builder,,ReplicateKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ReplicateKeyResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReplicateKeyResponse.BuilderreplicaKeyMetadata(Consumer<KeyMetadata.Builder> replicaKeyMetadata) Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys.replicaKeyMetadata(KeyMetadata replicaKeyMetadata) Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys.replicaPolicy(String replicaPolicy) The key policy of the new replica key.replicaTags(Collection<Tag> replicaTags) The tags on the new replica key.replicaTags(Consumer<Tag.Builder>... replicaTags) The tags on the new replica key.replicaTags(Tag... replicaTags) The tags on the new replica key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaKeyMetadata
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.Builderavoiding the need to create one manually viaKeyMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicaKeyMetadata(KeyMetadata).- Parameters:
replicaKeyMetadata- a consumer that will call methods onKeyMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaPolicy
The key policy of the new replica key. The value is a key policy document in JSON format.
- Parameters:
replicaPolicy- The key policy of the new replica key. The value is a key policy document in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaTags
The tags on the new replica key. The value is a list of tag key and tag value pairs.
- Parameters:
replicaTags- The tags on the new replica key. The value is a list of tag key and tag value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaTags
The tags on the new replica key. The value is a list of tag key and tag value pairs.
- Parameters:
replicaTags- The tags on the new replica key. The value is a list of tag key and tag value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicaTags(List<Tag>).- Parameters:
replicaTags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-