Interface ExportKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ExportKeyResponse.Builder,
,ExportKeyResponse> PaymentCryptographyResponse.Builder
,SdkBuilder<ExportKeyResponse.Builder,
,ExportKeyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ExportKeyResponse
@Mutable
@NotThreadSafe
public static interface ExportKeyResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<ExportKeyResponse.Builder,ExportKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportKeyResponse.Builder
wrappedKey
(Consumer<WrappedKey.Builder> wrappedKey) The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock.wrappedKey
(WrappedKey wrappedKey) The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
wrappedKey
The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.
- Parameters:
wrappedKey
- The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrappedKey
The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.
This is a convenience method that creates an instance of theWrappedKey.Builder
avoiding the need to create one manually viaWrappedKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towrappedKey(WrappedKey)
.- Parameters:
wrappedKey
- a consumer that will call methods onWrappedKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-