public ListStateMachineAliasesResult withStateMachineAliases(StateMachineAliasListItem... stateMachineAliases) {
        if (this.stateMachineAliases == null) {
            setStateMachineAliases(new java.util.ArrayList<StateMachineAliasListItem>(stateMachineAliases.length));
        }
        for (StateMachineAliasListItem ele : stateMachineAliases) {
            this.stateMachineAliases.add(ele);
        }
        return this;
    }
<p>
Aliases for the state machine.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStateMachineAliases(java.util.Collection)} or {@link #withStateMachineAliases(java.util.Collection)}
if you want to override the existing values.
</p>

@param stateMachineAliases
       Aliases for the state machine.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/ListStateMachineAliasesResult.java