public void setIndexAttachments(java.util.Collection<IndexAttachment> indexAttachments) {
        if (indexAttachments == null) {
            this.indexAttachments = null;
            return;
        }

        this.indexAttachments = new java.util.ArrayList<IndexAttachment>(indexAttachments);
    }
<p>
The indices attached to the specified object.
</p>

@param indexAttachments
       The indices attached to the specified object.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/ListAttachedIndicesResult.java