@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportKeyCryptogram extends Object implements Serializable, Cloneable, StructuredPojo
Parameter information for key material import using asymmetric RSA wrap and unwrap key exchange method.
Constructor and Description |
---|
ImportKeyCryptogram() |
Modifier and Type | Method and Description |
---|---|
ImportKeyCryptogram |
clone() |
boolean |
equals(Object obj) |
Boolean |
getExportable()
Specifies whether the key is exportable from the service.
|
String |
getImportToken()
The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS
Payment Cryptography.
|
KeyAttributes |
getKeyAttributes() |
String |
getWrappedKeyCryptogram()
The RSA wrapped key cryptogram under import.
|
String |
getWrappingSpec()
The wrapping spec for the wrapped key cryptogram.
|
int |
hashCode() |
Boolean |
isExportable()
Specifies whether the key is exportable from the service.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExportable(Boolean exportable)
Specifies whether the key is exportable from the service.
|
void |
setImportToken(String importToken)
The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS
Payment Cryptography.
|
void |
setKeyAttributes(KeyAttributes keyAttributes) |
void |
setWrappedKeyCryptogram(String wrappedKeyCryptogram)
The RSA wrapped key cryptogram under import.
|
void |
setWrappingSpec(String wrappingSpec)
The wrapping spec for the wrapped key cryptogram.
|
String |
toString()
Returns a string representation of this object.
|
ImportKeyCryptogram |
withExportable(Boolean exportable)
Specifies whether the key is exportable from the service.
|
ImportKeyCryptogram |
withImportToken(String importToken)
The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS
Payment Cryptography.
|
ImportKeyCryptogram |
withKeyAttributes(KeyAttributes keyAttributes) |
ImportKeyCryptogram |
withWrappedKeyCryptogram(String wrappedKeyCryptogram)
The RSA wrapped key cryptogram under import.
|
ImportKeyCryptogram |
withWrappingSpec(String wrappingSpec)
The wrapping spec for the wrapped key cryptogram.
|
ImportKeyCryptogram |
withWrappingSpec(WrappingKeySpec wrappingSpec)
The wrapping spec for the wrapped key cryptogram.
|
public void setKeyAttributes(KeyAttributes keyAttributes)
keyAttributes
- public KeyAttributes getKeyAttributes()
public ImportKeyCryptogram withKeyAttributes(KeyAttributes keyAttributes)
keyAttributes
- public void setExportable(Boolean exportable)
Specifies whether the key is exportable from the service.
exportable
- Specifies whether the key is exportable from the service.public Boolean getExportable()
Specifies whether the key is exportable from the service.
public ImportKeyCryptogram withExportable(Boolean exportable)
Specifies whether the key is exportable from the service.
exportable
- Specifies whether the key is exportable from the service.public Boolean isExportable()
Specifies whether the key is exportable from the service.
public void setWrappedKeyCryptogram(String wrappedKeyCryptogram)
The RSA wrapped key cryptogram under import.
wrappedKeyCryptogram
- The RSA wrapped key cryptogram under import.public String getWrappedKeyCryptogram()
The RSA wrapped key cryptogram under import.
public ImportKeyCryptogram withWrappedKeyCryptogram(String wrappedKeyCryptogram)
The RSA wrapped key cryptogram under import.
wrappedKeyCryptogram
- The RSA wrapped key cryptogram under import.public void setImportToken(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.
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.public String getImportToken()
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.
public ImportKeyCryptogram withImportToken(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.
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.public void setWrappingSpec(String wrappingSpec)
The wrapping spec for the wrapped key cryptogram.
wrappingSpec
- The wrapping spec for the wrapped key cryptogram.WrappingKeySpec
public String getWrappingSpec()
The wrapping spec for the wrapped key cryptogram.
WrappingKeySpec
public ImportKeyCryptogram withWrappingSpec(String wrappingSpec)
The wrapping spec for the wrapped key cryptogram.
wrappingSpec
- The wrapping spec for the wrapped key cryptogram.WrappingKeySpec
public ImportKeyCryptogram withWrappingSpec(WrappingKeySpec wrappingSpec)
The wrapping spec for the wrapped key cryptogram.
wrappingSpec
- The wrapping spec for the wrapped key cryptogram.WrappingKeySpec
public String toString()
toString
in class Object
Object.toString()
public ImportKeyCryptogram clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.