public UpdateAliasRequest withAliasName(String aliasName) {
        setAliasName(aliasName);
        return this;
    }
<p>
Identifies the alias that is changing its KMS key. This value must begin with <code>alias/</code> followed by the
alias name, such as <code>alias/ExampleAlias</code>. You cannot use <code>UpdateAlias</code> to change the alias
name.
</p>
<important>
<p>
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in
CloudTrail logs and other output.
</p>
</important>

@param aliasName
       Identifies the alias that is changing its KMS key. This value must begin with <code>alias/</code> followed
       by the alias name, such as <code>alias/ExampleAlias</code>. You cannot use <code>UpdateAlias</code> to
       change the alias name.</p> <important>
       <p>
       Do not include confidential or sensitive information in this field. This field may be displayed in
       plaintext in CloudTrail logs and other output.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/UpdateAliasRequest.java