public ListTaskDefinitionsResult withTaskDefinitionArns(String... taskDefinitionArns) {
        if (this.taskDefinitionArns == null) {
            setTaskDefinitionArns(new com.amazonaws.internal.SdkInternalList<String>(taskDefinitionArns.length));
        }
        for (String ele : taskDefinitionArns) {
            this.taskDefinitionArns.add(ele);
        }
        return this;
    }
public ListTaskDefinitionsResult withTaskDefinitionArns ( String ... taskDefinitionArns ) { if ( this . taskDefinitionArns == null ) { setTaskDefinitionArns ( new com . amazonaws . internal . SdkInternalList < String > ( taskDefinitionArns . length ) ) ; } for ( String ele : taskDefinitionArns ) { this . taskDefinitionArns . add ( ele ) ; } return this ; }
<p>
The list of task definition Amazon Resource Name (ARN) entries for the <code>ListTaskDefinitions</code> request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTaskDefinitionArns(java.util.Collection)} or {@link #withTaskDefinitionArns(java.util.Collection)} if
you want to override the existing values.
</p>

@param taskDefinitionArns
The list of task definition Amazon Resource Name (ARN) entries for the <code>ListTaskDefinitions</code>
request.
@return Returns a reference to this object so that method calls can be chained together.