public void setCreateIndex(BatchCreateIndex createIndex) {
        this.createIndex = createIndex;
    }
<p>
Creates an index object. See <a
href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/indexing_search.htm">Indexing and
search</a> for more information.
</p>

@param createIndex
       Creates an index object. See <a
       href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/indexing_search.htm">Indexing and
       search</a> for more information.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/BatchWriteOperation.java