Interface ImportKeyCryptogram.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImportKeyCryptogram.Builder,ImportKeyCryptogram>,SdkBuilder<ImportKeyCryptogram.Builder,ImportKeyCryptogram>,SdkPojo
- Enclosing class:
- ImportKeyCryptogram
public static interface ImportKeyCryptogram.Builder extends SdkPojo, CopyableBuilder<ImportKeyCryptogram.Builder,ImportKeyCryptogram>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportKeyCryptogram.Builderexportable(Boolean exportable)Specifies whether the key is exportable from the service.ImportKeyCryptogram.BuilderimportToken(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.BuilderkeyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)Sets the value of the KeyAttributes property for this object.ImportKeyCryptogram.BuilderkeyAttributes(KeyAttributes keyAttributes)Sets the value of the KeyAttributes property for this object.ImportKeyCryptogram.BuilderwrappedKeyCryptogram(String wrappedKeyCryptogram)The RSA wrapped key cryptogram under import.ImportKeyCryptogram.BuilderwrappingSpec(String wrappingSpec)The wrapping spec for the wrapped key cryptogram.ImportKeyCryptogram.BuilderwrappingSpec(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, sdkFields
-
-
-
-
Method Detail
-
exportable
ImportKeyCryptogram.Builder exportable(Boolean 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.
-
importToken
ImportKeyCryptogram.Builder importToken(String 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 7 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 7 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.
-
keyAttributes
ImportKeyCryptogram.Builder keyAttributes(KeyAttributes 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
default ImportKeyCryptogram.Builder keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)
Sets the value of the KeyAttributes property for this object. This is a convenience method that creates an instance of theKeyAttributes.Builderavoiding the need to create one manually viaKeyAttributes.builder().When the
Consumercompletes,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:
keyAttributes(KeyAttributes)
-
wrappedKeyCryptogram
ImportKeyCryptogram.Builder wrappedKeyCryptogram(String 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.
-
wrappingSpec
ImportKeyCryptogram.Builder wrappingSpec(String 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:
WrappingKeySpec,WrappingKeySpec
-
wrappingSpec
ImportKeyCryptogram.Builder wrappingSpec(WrappingKeySpec 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:
WrappingKeySpec,WrappingKeySpec
-
-