Class ImportKeyMaterial
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptography.model.ImportKeyMaterial
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportKeyMaterial.Builder,ImportKeyMaterial>
@Generated("software.amazon.awssdk:codegen") public final class ImportKeyMaterial extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportKeyMaterial.Builder,ImportKeyMaterial>
Parameter information for key material import into Amazon Web Services Payment Cryptography using TR-31 or TR-34 key exchange method.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportKeyMaterial.Builderstatic classImportKeyMaterial.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportKeyMaterial.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ImportKeyMaterialfromRootCertificatePublicKey(Consumer<RootCertificatePublicKey.Builder> rootCertificatePublicKey)Create an instance of this class withrootCertificatePublicKey()initialized to the given value.static ImportKeyMaterialfromRootCertificatePublicKey(RootCertificatePublicKey rootCertificatePublicKey)Create an instance of this class withrootCertificatePublicKey()initialized to the given value.static ImportKeyMaterialfromTr31KeyBlock(Consumer<ImportTr31KeyBlock.Builder> tr31KeyBlock)Create an instance of this class withtr31KeyBlock()initialized to the given value.static ImportKeyMaterialfromTr31KeyBlock(ImportTr31KeyBlock tr31KeyBlock)Create an instance of this class withtr31KeyBlock()initialized to the given value.static ImportKeyMaterialfromTr34KeyBlock(Consumer<ImportTr34KeyBlock.Builder> tr34KeyBlock)Create an instance of this class withtr34KeyBlock()initialized to the given value.static ImportKeyMaterialfromTr34KeyBlock(ImportTr34KeyBlock tr34KeyBlock)Create an instance of this class withtr34KeyBlock()initialized to the given value.static ImportKeyMaterialfromTrustedCertificatePublicKey(Consumer<TrustedCertificatePublicKey.Builder> trustedCertificatePublicKey)Create an instance of this class withtrustedCertificatePublicKey()initialized to the given value.static ImportKeyMaterialfromTrustedCertificatePublicKey(TrustedCertificatePublicKey trustedCertificatePublicKey)Create an instance of this class withtrustedCertificatePublicKey()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RootCertificatePublicKeyrootCertificatePublicKey()Parameter information for root public key certificate import.List<SdkField<?>>sdkFields()static Class<? extends ImportKeyMaterial.Builder>serializableBuilderClass()ImportKeyMaterial.BuildertoBuilder()StringtoString()Returns a string representation of this object.ImportTr31KeyBlocktr31KeyBlock()Parameter information for key material import using symmetric TR-31 key exchange method.ImportTr34KeyBlocktr34KeyBlock()Parameter information for key material import using the asymmetric TR-34 key exchange method.TrustedCertificatePublicKeytrustedCertificatePublicKey()Parameter information for trusted public key certificate import.ImportKeyMaterial.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
rootCertificatePublicKey
public final RootCertificatePublicKey rootCertificatePublicKey()
Parameter information for root public key certificate import.
- Returns:
- Parameter information for root public key certificate import.
-
tr31KeyBlock
public final ImportTr31KeyBlock tr31KeyBlock()
Parameter information for key material import using symmetric TR-31 key exchange method.
- Returns:
- Parameter information for key material import using symmetric TR-31 key exchange method.
-
tr34KeyBlock
public final ImportTr34KeyBlock tr34KeyBlock()
Parameter information for key material import using the asymmetric TR-34 key exchange method.
- Returns:
- Parameter information for key material import using the asymmetric TR-34 key exchange method.
-
trustedCertificatePublicKey
public final TrustedCertificatePublicKey trustedCertificatePublicKey()
Parameter information for trusted public key certificate import.
- Returns:
- Parameter information for trusted public key certificate import.
-
toBuilder
public ImportKeyMaterial.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportKeyMaterial.Builder,ImportKeyMaterial>
-
builder
public static ImportKeyMaterial.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportKeyMaterial.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.
-
fromRootCertificatePublicKey
public static ImportKeyMaterial fromRootCertificatePublicKey(RootCertificatePublicKey rootCertificatePublicKey)
Create an instance of this class withrootCertificatePublicKey()initialized to the given value.Parameter information for root public key certificate import.
- Parameters:
rootCertificatePublicKey- Parameter information for root public key certificate import.
-
fromRootCertificatePublicKey
public static ImportKeyMaterial fromRootCertificatePublicKey(Consumer<RootCertificatePublicKey.Builder> rootCertificatePublicKey)
Create an instance of this class withrootCertificatePublicKey()initialized to the given value.Parameter information for root public key certificate import.
- Parameters:
rootCertificatePublicKey- Parameter information for root public key certificate import.
-
fromTr31KeyBlock
public static ImportKeyMaterial fromTr31KeyBlock(ImportTr31KeyBlock tr31KeyBlock)
Create an instance of this class withtr31KeyBlock()initialized to the given value.Parameter information for key material import using symmetric TR-31 key exchange method.
- Parameters:
tr31KeyBlock- Parameter information for key material import using symmetric TR-31 key exchange method.
-
fromTr31KeyBlock
public static ImportKeyMaterial fromTr31KeyBlock(Consumer<ImportTr31KeyBlock.Builder> tr31KeyBlock)
Create an instance of this class withtr31KeyBlock()initialized to the given value.Parameter information for key material import using symmetric TR-31 key exchange method.
- Parameters:
tr31KeyBlock- Parameter information for key material import using symmetric TR-31 key exchange method.
-
fromTr34KeyBlock
public static ImportKeyMaterial fromTr34KeyBlock(ImportTr34KeyBlock tr34KeyBlock)
Create an instance of this class withtr34KeyBlock()initialized to the given value.Parameter information for key material import using the asymmetric TR-34 key exchange method.
- Parameters:
tr34KeyBlock- Parameter information for key material import using the asymmetric TR-34 key exchange method.
-
fromTr34KeyBlock
public static ImportKeyMaterial fromTr34KeyBlock(Consumer<ImportTr34KeyBlock.Builder> tr34KeyBlock)
Create an instance of this class withtr34KeyBlock()initialized to the given value.Parameter information for key material import using the asymmetric TR-34 key exchange method.
- Parameters:
tr34KeyBlock- Parameter information for key material import using the asymmetric TR-34 key exchange method.
-
fromTrustedCertificatePublicKey
public static ImportKeyMaterial fromTrustedCertificatePublicKey(TrustedCertificatePublicKey trustedCertificatePublicKey)
Create an instance of this class withtrustedCertificatePublicKey()initialized to the given value.Parameter information for trusted public key certificate import.
- Parameters:
trustedCertificatePublicKey- Parameter information for trusted public key certificate import.
-
fromTrustedCertificatePublicKey
public static ImportKeyMaterial fromTrustedCertificatePublicKey(Consumer<TrustedCertificatePublicKey.Builder> trustedCertificatePublicKey)
Create an instance of this class withtrustedCertificatePublicKey()initialized to the given value.Parameter information for trusted public key certificate import.
- Parameters:
trustedCertificatePublicKey- Parameter information for trusted public key certificate import.
-
type
public ImportKeyMaterial.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beImportKeyMaterial.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beImportKeyMaterial.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-