Class AliasListEntry

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

public class AliasListEntry extends Object implements Serializable, Cloneable

Contains information about an alias.

See Also:
  • Constructor Details

    • AliasListEntry

      public AliasListEntry()
  • Method Details

    • setAliasName

      public void setAliasName(String aliasName)

      String that contains the alias.

      Parameters:
      aliasName - String that contains the alias.
    • getAliasName

      public String getAliasName()

      String that contains the alias.

      Returns:
      String that contains the alias.
    • withAliasName

      public AliasListEntry withAliasName(String aliasName)

      String that contains the alias.

      Parameters:
      aliasName - String that contains the alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAliasArn

      public void setAliasArn(String aliasArn)

      String that contains the key ARN.

      Parameters:
      aliasArn - String that contains the key ARN.
    • getAliasArn

      public String getAliasArn()

      String that contains the key ARN.

      Returns:
      String that contains the key ARN.
    • withAliasArn

      public AliasListEntry withAliasArn(String aliasArn)

      String that contains the key ARN.

      Parameters:
      aliasArn - String that contains the key ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTargetKeyId

      public void setTargetKeyId(String targetKeyId)

      String that contains the key identifier pointed to by the alias.

      Parameters:
      targetKeyId - String that contains the key identifier pointed to by the alias.
    • getTargetKeyId

      public String getTargetKeyId()

      String that contains the key identifier pointed to by the alias.

      Returns:
      String that contains the key identifier pointed to by the alias.
    • withTargetKeyId

      public AliasListEntry withTargetKeyId(String targetKeyId)

      String that contains the key identifier pointed to by the alias.

      Parameters:
      targetKeyId - String that contains the key identifier pointed to by the alias.
      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 AliasListEntry clone()
      Overrides:
      clone in class Object