public static interface RestoreKeyResponse.Builder extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<RestoreKeyResponse.Builder,RestoreKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
default RestoreKeyResponse.Builder |
key(Consumer<Key.Builder> key)
The key material of the restored key.
|
RestoreKeyResponse.Builder |
key(Key key)
The key material of the restored key.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildRestoreKeyResponse.Builder key(Key key)
The key material of the restored key. The KeyState will change to CREATE_COMPLETE
and value for DeletePendingTimestamp gets removed.
key - The key material of the restored key. The KeyState will change to
CREATE_COMPLETE and value for DeletePendingTimestamp gets removed.default RestoreKeyResponse.Builder key(Consumer<Key.Builder> key)
The key material of the restored key. The KeyState will change to CREATE_COMPLETE
and value for DeletePendingTimestamp gets removed.
Key.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.