Class DisableKeyRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.kms.model.DisableKeyRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DisableKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DisableKeyRequest

      public DisableKeyRequest()
  • Method Details

    • setKeyId

      public void setKeyId(String keyId)

      A unique identifier for the CMK.

      Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example:

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

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

      Parameters:
      keyId - A unique identifier for the CMK.

      Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example:

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

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

    • getKeyId

      public String getKeyId()

      A unique identifier for the CMK.

      Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example:

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

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

      Returns:
      A unique identifier for the CMK.

      Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example:

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

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

    • withKeyId

      public DisableKeyRequest withKeyId(String keyId)

      A unique identifier for the CMK.

      Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example:

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

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

      Parameters:
      keyId - A unique identifier for the CMK.

      Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example:

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

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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DisableKeyRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: