public String getTypeName() {
        return this.typeName;
    }
<p>
The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a
new type for an existing index that already has another type, Firehose returns an error during run time.
</p>
<p>
For Elasticsearch 7.x, don't specify a <code>TypeName</code>.
</p>

@return The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to
        specify a new type for an existing index that already has another type, Firehose returns an error during
        run time.</p>
        <p>
        For Elasticsearch 7.x, don't specify a <code>TypeName</code>.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/ElasticsearchDestinationConfiguration.java