public CreateAliasResult withAlias(Alias alias) {
        setAlias(alias);
        return this;
    }
<p>
The alias for the key.
</p>

@param alias
       The alias for the key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/CreateAliasResult.java