Interface ImportKeyCryptogram.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportKeyCryptogram.Builder,
,ImportKeyCryptogram> SdkBuilder<ImportKeyCryptogram.Builder,
,ImportKeyCryptogram> SdkPojo
- Enclosing class:
ImportKeyCryptogram
@Mutable
@NotThreadSafe
public static interface ImportKeyCryptogram.Builder
extends SdkPojo, CopyableBuilder<ImportKeyCryptogram.Builder,ImportKeyCryptogram>
-
Method Summary
Modifier and TypeMethodDescriptionexportable
(Boolean exportable) Specifies whether the key is exportable from the service.importToken
(String importToken) The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography.default ImportKeyCryptogram.Builder
keyAttributes
(Consumer<KeyAttributes.Builder> keyAttributes) Sets the value of the KeyAttributes property for this object.keyAttributes
(KeyAttributes keyAttributes) Sets the value of the KeyAttributes property for this object.wrappedKeyCryptogram
(String wrappedKeyCryptogram) The RSA wrapped key cryptogram under import.wrappingSpec
(String wrappingSpec) The wrapping spec for the wrapped key cryptogram.wrappingSpec
(WrappingKeySpec wrappingSpec) The wrapping spec for the wrapped key cryptogram.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, sdkFieldNameToField, sdkFields
-
Method Details
-
keyAttributes
Sets the value of the KeyAttributes property for this object.- Parameters:
keyAttributes
- The new value for the KeyAttributes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyAttributes
Sets the value of the KeyAttributes property for this object. This is a convenience method that creates an instance of theKeyAttributes.Builder
avoiding the need to create one manually viaKeyAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyAttributes(KeyAttributes)
.- Parameters:
keyAttributes
- a consumer that will call methods onKeyAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportable
Specifies whether the key is exportable from the service.
- Parameters:
exportable
- Specifies whether the key is exportable from the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrappedKeyCryptogram
The RSA wrapped key cryptogram under import.
- Parameters:
wrappedKeyCryptogram
- The RSA wrapped key cryptogram under import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importToken
The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 30 days. You can use the same import token to import multiple keys to the same service account.
- Parameters:
importToken
- The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 30 days. You can use the same import token to import multiple keys to the same service account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrappingSpec
The wrapping spec for the wrapped key cryptogram.
- Parameters:
wrappingSpec
- The wrapping spec for the wrapped key cryptogram.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wrappingSpec
The wrapping spec for the wrapped key cryptogram.
- Parameters:
wrappingSpec
- The wrapping spec for the wrapped key cryptogram.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-