public ListAttachedIndicesResult withIndexAttachments(java.util.Collection<IndexAttachment> indexAttachments) {
        setIndexAttachments(indexAttachments);
        return this;
    }
<p>
The indices attached to the specified object.
</p>

@param indexAttachments
       The indices attached to the specified object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/ListAttachedIndicesResult.java