Interface ExportTr31KeyBlock.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportTr31KeyBlock.Builder,
,ExportTr31KeyBlock> SdkBuilder<ExportTr31KeyBlock.Builder,
,ExportTr31KeyBlock> SdkPojo
- Enclosing class:
ExportTr31KeyBlock
public static interface ExportTr31KeyBlock.Builder
extends SdkPojo, CopyableBuilder<ExportTr31KeyBlock.Builder,ExportTr31KeyBlock>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportTr31KeyBlock.Builder
keyBlockHeaders
(Consumer<KeyBlockHeaders.Builder> keyBlockHeaders) Optional metadata for export associated with the key material.keyBlockHeaders
(KeyBlockHeaders keyBlockHeaders) Optional metadata for export associated with the key material.wrappingKeyIdentifier
(String wrappingKeyIdentifier) TheKeyARN
of the the wrapping key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
wrappingKeyIdentifier
The
KeyARN
of the the wrapping key. This key encrypts or wraps the key under export for TR-31 key block generation.- Parameters:
wrappingKeyIdentifier
- TheKeyARN
of the the wrapping key. This key encrypts or wraps the key under export for TR-31 key block generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyBlockHeaders
Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.
- Parameters:
keyBlockHeaders
- Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyBlockHeaders
default ExportTr31KeyBlock.Builder keyBlockHeaders(Consumer<KeyBlockHeaders.Builder> keyBlockHeaders) Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.
This is a convenience method that creates an instance of theKeyBlockHeaders.Builder
avoiding the need to create one manually viaKeyBlockHeaders.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyBlockHeaders(KeyBlockHeaders)
.- Parameters:
keyBlockHeaders
- a consumer that will call methods onKeyBlockHeaders.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-