Class ExportKeyMaterial
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptography.model.ExportKeyMaterial
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExportKeyMaterial.Builder,ExportKeyMaterial>
@Generated("software.amazon.awssdk:codegen") public final class ExportKeyMaterial extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportKeyMaterial.Builder,ExportKeyMaterial>
Parameter information for key material export from 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 interfaceExportKeyMaterial.Builderstatic classExportKeyMaterial.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportKeyMaterial.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ExportKeyMaterialfromTr31KeyBlock(Consumer<ExportTr31KeyBlock.Builder> tr31KeyBlock)Create an instance of this class withtr31KeyBlock()initialized to the given value.static ExportKeyMaterialfromTr31KeyBlock(ExportTr31KeyBlock tr31KeyBlock)Create an instance of this class withtr31KeyBlock()initialized to the given value.static ExportKeyMaterialfromTr34KeyBlock(Consumer<ExportTr34KeyBlock.Builder> tr34KeyBlock)Create an instance of this class withtr34KeyBlock()initialized to the given value.static ExportKeyMaterialfromTr34KeyBlock(ExportTr34KeyBlock tr34KeyBlock)Create an instance of this class withtr34KeyBlock()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ExportKeyMaterial.Builder>serializableBuilderClass()ExportKeyMaterial.BuildertoBuilder()StringtoString()Returns a string representation of this object.ExportTr31KeyBlocktr31KeyBlock()Parameter information for key material export using symmetric TR-31 key exchange method.ExportTr34KeyBlocktr34KeyBlock()Parameter information for key material export using the asymmetric TR-34 key exchange method.ExportKeyMaterial.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
-
tr31KeyBlock
public final ExportTr31KeyBlock tr31KeyBlock()
Parameter information for key material export using symmetric TR-31 key exchange method.
- Returns:
- Parameter information for key material export using symmetric TR-31 key exchange method.
-
tr34KeyBlock
public final ExportTr34KeyBlock tr34KeyBlock()
Parameter information for key material export using the asymmetric TR-34 key exchange method.
- Returns:
- Parameter information for key material export using the asymmetric TR-34 key exchange method.
-
toBuilder
public ExportKeyMaterial.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportKeyMaterial.Builder,ExportKeyMaterial>
-
builder
public static ExportKeyMaterial.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportKeyMaterial.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.
-
fromTr31KeyBlock
public static ExportKeyMaterial fromTr31KeyBlock(ExportTr31KeyBlock tr31KeyBlock)
Create an instance of this class withtr31KeyBlock()initialized to the given value.Parameter information for key material export using symmetric TR-31 key exchange method.
- Parameters:
tr31KeyBlock- Parameter information for key material export using symmetric TR-31 key exchange method.
-
fromTr31KeyBlock
public static ExportKeyMaterial fromTr31KeyBlock(Consumer<ExportTr31KeyBlock.Builder> tr31KeyBlock)
Create an instance of this class withtr31KeyBlock()initialized to the given value.Parameter information for key material export using symmetric TR-31 key exchange method.
- Parameters:
tr31KeyBlock- Parameter information for key material export using symmetric TR-31 key exchange method.
-
fromTr34KeyBlock
public static ExportKeyMaterial fromTr34KeyBlock(ExportTr34KeyBlock tr34KeyBlock)
Create an instance of this class withtr34KeyBlock()initialized to the given value.Parameter information for key material export using the asymmetric TR-34 key exchange method.
- Parameters:
tr34KeyBlock- Parameter information for key material export using the asymmetric TR-34 key exchange method.
-
fromTr34KeyBlock
public static ExportKeyMaterial fromTr34KeyBlock(Consumer<ExportTr34KeyBlock.Builder> tr34KeyBlock)
Create an instance of this class withtr34KeyBlock()initialized to the given value.Parameter information for key material export using the asymmetric TR-34 key exchange method.
- Parameters:
tr34KeyBlock- Parameter information for key material export using the asymmetric TR-34 key exchange method.
-
type
public ExportKeyMaterial.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 beExportKeyMaterial.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 beExportKeyMaterial.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-