public static interface GetKeyResponse.Builder extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<GetKeyResponse.Builder,GetKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetKeyResponse.Builder |
key(Consumer<Key.Builder> key)
The key material, including the immutable and mutable data for the key.
|
GetKeyResponse.Builder |
key(Key key)
The key material, including the immutable and mutable data for the key.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetKeyResponse.Builder key(Key key)
The key material, including the immutable and mutable data for the key.
key - The key material, including the immutable and mutable data for the key.default GetKeyResponse.Builder key(Consumer<Key.Builder> key)
The key material, including the immutable and mutable data for the key.
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.