public static interface CreateKeyResponse.Builder extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateKeyResponse.Builder |
key(Consumer<Key.Builder> key)
The key material that contains all the key attributes.
|
CreateKeyResponse.Builder |
key(Key key)
The key material that contains all the key attributes.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateKeyResponse.Builder key(Key key)
The key material that contains all the key attributes.
key - The key material that contains all the key attributes.default CreateKeyResponse.Builder key(Consumer<Key.Builder> key)
The key material that contains all the key attributes.
This is a convenience method that creates an instance of theKey.Builder avoiding the need to create
one manually via Key.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to key(Key).
key - a consumer that will call methods on Key.Builderkey(Key)Copyright © 2023. All rights reserved.