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.BuilderkeyBlockHeaders(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) TheKeyARNof the the wrapping key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
wrappingKeyIdentifier
The
KeyARNof the the wrapping key. This key encrypts or wraps the key under export for TR-31 key block generation.- Parameters:
wrappingKeyIdentifier- TheKeyARNof 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.Builderavoiding the need to create one manually viaKeyBlockHeaders.builder().When the
Consumercompletes,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:
-