Interface ImportAs2805KeyCryptogram.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImportAs2805KeyCryptogram.Builder,,ImportAs2805KeyCryptogram> SdkBuilder<ImportAs2805KeyCryptogram.Builder,,ImportAs2805KeyCryptogram> SdkPojo
- Enclosing class:
ImportAs2805KeyCryptogram
@Mutable
@NotThreadSafe
public static interface ImportAs2805KeyCryptogram.Builder
extends SdkPojo, CopyableBuilder<ImportAs2805KeyCryptogram.Builder,ImportAs2805KeyCryptogram>
-
Method Summary
Modifier and TypeMethodDescriptionas2805KeyVariant(String as2805KeyVariant) The cryptographic usage of the key under import.as2805KeyVariant(As2805KeyVariant as2805KeyVariant) The cryptographic usage of the key under import.exportable(Boolean exportable) Specified whether the key is exportable.keyAlgorithm(String keyAlgorithm) The key algorithm of the key under import.keyAlgorithm(KeyAlgorithm keyAlgorithm) The key algorithm of the key under import.keyModesOfUse(Consumer<KeyModesOfUse.Builder> keyModesOfUse) Sets the value of the KeyModesOfUse property for this object.keyModesOfUse(KeyModesOfUse keyModesOfUse) Sets the value of the KeyModesOfUse property for this object.wrappedKeyCryptogram(String wrappedKeyCryptogram) The wrapped key cryptogram under import.wrappingKeyIdentifier(String wrappingKeyIdentifier) Sets the value of the WrappingKeyIdentifier property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
as2805KeyVariant
The cryptographic usage of the key under import.
- Parameters:
as2805KeyVariant- The cryptographic usage of the key under import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
as2805KeyVariant
The cryptographic usage of the key under import.
- Parameters:
as2805KeyVariant- The cryptographic usage of the key under import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyModesOfUse
Sets the value of the KeyModesOfUse property for this object.- Parameters:
keyModesOfUse- The new value for the KeyModesOfUse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyModesOfUse
default ImportAs2805KeyCryptogram.Builder keyModesOfUse(Consumer<KeyModesOfUse.Builder> keyModesOfUse) Sets the value of the KeyModesOfUse property for this object. This is a convenience method that creates an instance of theKeyModesOfUse.Builderavoiding the need to create one manually viaKeyModesOfUse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyModesOfUse(KeyModesOfUse).- Parameters:
keyModesOfUse- a consumer that will call methods onKeyModesOfUse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyAlgorithm
The key algorithm of the key under import.
- Parameters:
keyAlgorithm- The key algorithm of the key under import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyAlgorithm
The key algorithm of the key under import.
- Parameters:
keyAlgorithm- The key algorithm of the key under import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportable
Specified whether the key is exportable. This data is immutable after the key is imported.
- Parameters:
exportable- Specified whether the key is exportable. This data is immutable after the key is imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrappingKeyIdentifier
Sets the value of the WrappingKeyIdentifier property for this object.- Parameters:
wrappingKeyIdentifier- The new value for the WrappingKeyIdentifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrappedKeyCryptogram
The wrapped key cryptogram under import.
- Parameters:
wrappedKeyCryptogram- The wrapped key cryptogram under import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-