Class GetParametersForImportResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse
-
- software.amazon.awssdk.services.paymentcryptography.model.GetParametersForImportResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetParametersForImportResponse.Builder,GetParametersForImportResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetParametersForImportResponse extends PaymentCryptographyResponse implements ToCopyableBuilder<GetParametersForImportResponse.Builder,GetParametersForImportResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetParametersForImportResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetParametersForImportResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportToken()The import token to initiate key import into Amazon Web Services Payment Cryptography.InstantparametersValidUntilTimestamp()The validity period of the import token.List<SdkField<?>>sdkFields()static Class<? extends GetParametersForImportResponse.Builder>serializableBuilderClass()GetParametersForImportResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.KeyAlgorithmwrappingKeyAlgorithm()The algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.StringwrappingKeyAlgorithmAsString()The algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.StringwrappingKeyCertificate()The wrapping key certificate in PEM format (base64 encoded) of the wrapping key for use within the TR-34 key block.StringwrappingKeyCertificateChain()The Amazon Web Services Payment Cryptography root certificate authority (CA) that signed the wrapping key certificate in PEM format (base64 encoded).-
Methods inherited from class software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
importToken
public final String importToken()
The import token to initiate key import into Amazon Web Services Payment Cryptography. The import token expires after 7 days. You can use the same import token to import multiple keys to the same service account.
- Returns:
- The import token to initiate key import into Amazon Web Services Payment Cryptography. The import token expires after 7 days. You can use the same import token to import multiple keys to the same service account.
-
parametersValidUntilTimestamp
public final Instant parametersValidUntilTimestamp()
The validity period of the import token.
- Returns:
- The validity period of the import token.
-
wrappingKeyAlgorithm
public final KeyAlgorithm wrappingKeyAlgorithm()
The algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.
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 algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.
- See Also:
KeyAlgorithm
-
wrappingKeyAlgorithmAsString
public final String wrappingKeyAlgorithmAsString()
The algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.
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 algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.
- See Also:
KeyAlgorithm
-
wrappingKeyCertificate
public final String wrappingKeyCertificate()
The wrapping key certificate in PEM format (base64 encoded) of the wrapping key for use within the TR-34 key block. The certificate expires in 7 days.
- Returns:
- The wrapping key certificate in PEM format (base64 encoded) of the wrapping key for use within the TR-34 key block. The certificate expires in 7 days.
-
wrappingKeyCertificateChain
public final String wrappingKeyCertificateChain()
The Amazon Web Services Payment Cryptography root certificate authority (CA) that signed the wrapping key certificate in PEM format (base64 encoded).
- Returns:
- The Amazon Web Services Payment Cryptography root certificate authority (CA) that signed the wrapping key certificate in PEM format (base64 encoded).
-
toBuilder
public GetParametersForImportResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetParametersForImportResponse.Builder,GetParametersForImportResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetParametersForImportResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetParametersForImportResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-