public String getIndexName() {
        return this.indexName;
    }
<p>
The name of a secondary index to scan. This index can be any local secondary index or global secondary index.
Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName</code>.
</p>

@return The name of a secondary index to scan. This index can be any local secondary index or global secondary
        index. Note that if you use the <code>IndexName</code> parameter, you must also provide
        <code>TableName</code>.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/ScanRequest.java