Class DeleteImportedKeyMaterialRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DeleteImportedKeyMaterialRequest.Builder,DeleteImportedKeyMaterialRequest>

@Generated("software.amazon.awssdk:codegen") public final class DeleteImportedKeyMaterialRequest extends KmsRequest implements ToCopyableBuilder<DeleteImportedKeyMaterialRequest.Builder,DeleteImportedKeyMaterialRequest>
  • Method Details

    • keyId

      public final String keyId()

      Identifies the KMS key from which you are deleting imported key material. The Origin of the KMS key must be EXTERNAL.

      Specify the key ID or key ARN of the KMS key.

      For example:

      • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

      • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

      To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

      Returns:
      Identifies the KMS key from which you are deleting imported key material. The Origin of the KMS key must be EXTERNAL.

      Specify the key ID or key ARN of the KMS key.

      For example:

      • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

      • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

      To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

    • keyMaterialId

      public final String keyMaterialId()

      Identifies the imported key material you are deleting.

      If no KeyMaterialId is specified, KMS deletes the current key material.

      To get the list of key material IDs associated with a KMS key, use ListKeyRotations.

      Returns:
      Identifies the imported key material you are deleting.

      If no KeyMaterialId is specified, KMS deletes the current key material.

      To get the list of key material IDs associated with a KMS key, use ListKeyRotations.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<DeleteImportedKeyMaterialRequest.Builder,DeleteImportedKeyMaterialRequest>
      Specified by:
      toBuilder in class KmsRequest
    • builder

    • serializableBuilderClass

      public static Class<? extends DeleteImportedKeyMaterialRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo