public IndexAttachment withIndexedAttributes(AttributeKeyAndValue... indexedAttributes) {
        if (this.indexedAttributes == null) {
            setIndexedAttributes(new java.util.ArrayList<AttributeKeyAndValue>(indexedAttributes.length));
        }
        for (AttributeKeyAndValue ele : indexedAttributes) {
            this.indexedAttributes.add(ele);
        }
        return this;
    }
public IndexAttachment withIndexedAttributes ( AttributeKeyAndValue ... indexedAttributes ) { if ( this . indexedAttributes == null ) { setIndexedAttributes ( new java . util . ArrayList < AttributeKeyAndValue > ( indexedAttributes . length ) ) ; } for ( AttributeKeyAndValue ele : indexedAttributes ) { this . indexedAttributes . add ( ele ) ; } return this ; }
<p>
The indexed attribute values.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIndexedAttributes(java.util.Collection)} or {@link #withIndexedAttributes(java.util.Collection)} if
you want to override the existing values.
</p>

@param indexedAttributes
The indexed attribute values.
@return Returns a reference to this object so that method calls can be chained together.