public AmazonopensearchserviceDestinationDescription withTypeName(String typeName) {
        setTypeName(typeName);
        return this;
    }
<p>
The Amazon OpenSearch Service type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch
7.x and OpenSearch Service 1.x, there's no value for TypeName.
</p>

@param typeName
       The Amazon OpenSearch Service type name. This applies to Elasticsearch 6.x and lower versions. For
       Elasticsearch 7.x and OpenSearch Service 1.x, there's no value for TypeName.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/AmazonopensearchserviceDestinationDescription.java