public SearchIndexRequest withIndexName(String indexName) {
        setIndexName(indexName);
        return this;
    }
<p>
The search index name.
</p>

@param indexName
       The search index name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/SearchIndexRequest.java