public static interface CreateKeyResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateKeyResponse.Builder |
keyMetadata(Consumer<KeyMetadata.Builder> keyMetadata)
Metadata associated with the KMS key.
|
CreateKeyResponse.Builder |
keyMetadata(KeyMetadata keyMetadata)
Metadata associated with the KMS key.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateKeyResponse.Builder keyMetadata(KeyMetadata keyMetadata)
Metadata associated with the KMS key.
keyMetadata - Metadata associated with the KMS key.default CreateKeyResponse.Builder keyMetadata(Consumer<KeyMetadata.Builder> keyMetadata)
Metadata associated with the KMS key.
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 keyMetadata(KeyMetadata).
keyMetadata - a consumer that will call methods on KeyMetadata.BuilderkeyMetadata(KeyMetadata)Copyright © 2023. All rights reserved.