Class ImportKeyCryptogram
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptography.model.ImportKeyCryptogram
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportKeyCryptogram.Builder,ImportKeyCryptogram>
@Generated("software.amazon.awssdk:codegen") public final class ImportKeyCryptogram extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportKeyCryptogram.Builder,ImportKeyCryptogram>
Parameter information for key material import using asymmetric RSA wrap and unwrap key exchange method.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportKeyCryptogram.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportKeyCryptogram.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanexportable()Specifies whether the key is exportable from the service.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportToken()The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography.KeyAttributeskeyAttributes()Returns the value of the KeyAttributes property for this object.List<SdkField<?>>sdkFields()static Class<? extends ImportKeyCryptogram.Builder>serializableBuilderClass()ImportKeyCryptogram.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwrappedKeyCryptogram()The RSA wrapped key cryptogram under import.WrappingKeySpecwrappingSpec()The wrapping spec for the wrapped key cryptogram.StringwrappingSpecAsString()The wrapping spec for the wrapped key cryptogram.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
exportable
public final Boolean exportable()
Specifies whether the key is exportable from the service.
- Returns:
- Specifies whether the key is exportable from the service.
-
importToken
public final 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.
- Returns:
- 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.
-
keyAttributes
public final KeyAttributes keyAttributes()
Returns the value of the KeyAttributes property for this object.- Returns:
- The value of the KeyAttributes property for this object.
-
wrappedKeyCryptogram
public final String wrappedKeyCryptogram()
The RSA wrapped key cryptogram under import.
- Returns:
- The RSA wrapped key cryptogram under import.
-
wrappingSpec
public final WrappingKeySpec wrappingSpec()
The wrapping spec for the wrapped key cryptogram.
If the service returns an enum value that is not available in the current SDK version,
wrappingSpecwill returnWrappingKeySpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwrappingSpecAsString().- Returns:
- The wrapping spec for the wrapped key cryptogram.
- See Also:
WrappingKeySpec
-
wrappingSpecAsString
public final String wrappingSpecAsString()
The wrapping spec for the wrapped key cryptogram.
If the service returns an enum value that is not available in the current SDK version,
wrappingSpecwill returnWrappingKeySpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwrappingSpecAsString().- Returns:
- The wrapping spec for the wrapped key cryptogram.
- See Also:
WrappingKeySpec
-
toBuilder
public ImportKeyCryptogram.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportKeyCryptogram.Builder,ImportKeyCryptogram>
-
builder
public static ImportKeyCryptogram.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportKeyCryptogram.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-