public ListIndicesResult withIndices(Index... indices) {
        if (this.indices == null) {
            setIndices(new java.util.ArrayList<Index>(indices.length));
        }
        for (Index ele : indices) {
            this.indices.add(ele);
        }
        return this;
    }
<p>
An array of information on the items in one or more indexes.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIndices(java.util.Collection)} or {@link #withIndices(java.util.Collection)} if you want to override
the existing values.
</p>

@param indices
       An array of information on the items in one or more indexes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/ListIndicesResult.java