Interface TranslateKeyMaterialResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TranslateKeyMaterialResponse.Builder,
,TranslateKeyMaterialResponse> PaymentCryptographyDataResponse.Builder
,SdkBuilder<TranslateKeyMaterialResponse.Builder,
,TranslateKeyMaterialResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
TranslateKeyMaterialResponse
@Mutable
@NotThreadSafe
public static interface TranslateKeyMaterialResponse.Builder
extends PaymentCryptographyDataResponse.Builder, SdkPojo, CopyableBuilder<TranslateKeyMaterialResponse.Builder,TranslateKeyMaterialResponse>
-
Method Summary
Modifier and TypeMethodDescriptionwrappedKey
(Consumer<WrappedWorkingKey.Builder> wrappedKey) The outgoing KEK wrapped TR31WrappedKeyBlock.wrappedKey
(WrappedWorkingKey wrappedKey) The outgoing KEK wrapped TR31WrappedKeyBlock.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataResponse.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 outgoing KEK wrapped TR31WrappedKeyBlock.
- Parameters:
wrappedKey
- The outgoing KEK wrapped TR31WrappedKeyBlock.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrappedKey
default TranslateKeyMaterialResponse.Builder wrappedKey(Consumer<WrappedWorkingKey.Builder> wrappedKey) The outgoing KEK wrapped TR31WrappedKeyBlock.
This is a convenience method that creates an instance of theWrappedWorkingKey.Builder
avoiding the need to create one manually viaWrappedWorkingKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towrappedKey(WrappedWorkingKey)
.- Parameters:
wrappedKey
- a consumer that will call methods onWrappedWorkingKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-