public void setIndexNames(java.util.Collection<String> indexNames) {
        if (indexNames == null) {
            this.indexNames = null;
            return;
        }

        this.indexNames = new java.util.ArrayList<String>(indexNames);
    }
<p>
The index names.
</p>

@param indexNames
       The index names.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListIndicesResult.java