Class GetParametersForImportRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyRequest
-
- software.amazon.awssdk.services.paymentcryptography.model.GetParametersForImportRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetParametersForImportRequest.Builder,GetParametersForImportRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetParametersForImportRequest extends PaymentCryptographyRequest implements ToCopyableBuilder<GetParametersForImportRequest.Builder,GetParametersForImportRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetParametersForImportRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetParametersForImportRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()KeyMaterialTypekeyMaterialType()The method to use for key material import.StringkeyMaterialTypeAsString()The method to use for key material import.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetParametersForImportRequest.Builder>serializableBuilderClass()GetParametersForImportRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.KeyAlgorithmwrappingKeyAlgorithm()The wrapping key algorithm to generate a wrapping key certificate.StringwrappingKeyAlgorithmAsString()The wrapping key algorithm to generate a wrapping key certificate.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
keyMaterialType
public final KeyMaterialType keyMaterialType()
The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (
TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).Import token is not required for TR-31, root public key cerificate or trusted public key certificate.
If the service returns an enum value that is not available in the current SDK version,
keyMaterialTypewill returnKeyMaterialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyMaterialTypeAsString().- Returns:
- The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (
TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).Import token is not required for TR-31, root public key cerificate or trusted public key certificate.
- See Also:
KeyMaterialType
-
keyMaterialTypeAsString
public final String keyMaterialTypeAsString()
The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (
TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).Import token is not required for TR-31, root public key cerificate or trusted public key certificate.
If the service returns an enum value that is not available in the current SDK version,
keyMaterialTypewill returnKeyMaterialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyMaterialTypeAsString().- Returns:
- The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (
TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).Import token is not required for TR-31, root public key cerificate or trusted public key certificate.
- See Also:
KeyMaterialType
-
wrappingKeyAlgorithm
public final KeyAlgorithm wrappingKeyAlgorithm()
The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.
At this time,
RSA_2048is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally,RSA_2048,RSA_3072,RSA_4096are the allowed algorithms for RSA WrappedKeyCryptogram import.If the service returns an enum value that is not available in the current SDK version,
wrappingKeyAlgorithmwill returnKeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwrappingKeyAlgorithmAsString().- Returns:
- The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under
import.
At this time,
RSA_2048is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally,RSA_2048,RSA_3072,RSA_4096are the allowed algorithms for RSA WrappedKeyCryptogram import. - See Also:
KeyAlgorithm
-
wrappingKeyAlgorithmAsString
public final String wrappingKeyAlgorithmAsString()
The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.
At this time,
RSA_2048is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally,RSA_2048,RSA_3072,RSA_4096are the allowed algorithms for RSA WrappedKeyCryptogram import.If the service returns an enum value that is not available in the current SDK version,
wrappingKeyAlgorithmwill returnKeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwrappingKeyAlgorithmAsString().- Returns:
- The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under
import.
At this time,
RSA_2048is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally,RSA_2048,RSA_3072,RSA_4096are the allowed algorithms for RSA WrappedKeyCryptogram import. - See Also:
KeyAlgorithm
-
toBuilder
public GetParametersForImportRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetParametersForImportRequest.Builder,GetParametersForImportRequest>- Specified by:
toBuilderin classPaymentCryptographyRequest
-
builder
public static GetParametersForImportRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetParametersForImportRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-