public UpdateDynamicThingGroupRequest withIndexName(String indexName) {
        setIndexName(indexName);
        return this;
    }
<p>
The dynamic thing group index to update.
</p>
<note>
<p>
Currently one index is supported: <code>AWS_Things</code>.
</p>
</note>

@param indexName
       The dynamic thing group index to update.</p> <note>
       <p>
       Currently one index is supported: <code>AWS_Things</code>.
       </p>
@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/UpdateDynamicThingGroupRequest.java