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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExportKeyResponse.BuilderwrappedKey(Consumer<WrappedKey.Builder> wrappedKey)The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock.ExportKeyResponse.BuilderwrappedKey(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
wrappedKey
ExportKeyResponse.Builder wrappedKey(WrappedKey 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
default ExportKeyResponse.Builder wrappedKey(Consumer<WrappedKey.Builder> 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:
wrappedKey(WrappedKey)
-
-