Class DisableKeyRequest

    • Constructor Detail

      • DisableKeyRequest

        public DisableKeyRequest()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object