Interface ExportKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ExportKeyResponse.Builder,,ExportKeyResponse> PaymentCryptographyResponse.Builder,SdkBuilder<ExportKeyResponse.Builder,,ExportKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ExportKeyResponse
public static interface ExportKeyResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<ExportKeyResponse.Builder,ExportKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportKeyResponse.BuilderwrappedKey(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
copyMethods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaWrappedKey.builder().When the
Consumercompletes,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:
-