public CreateEndpointRequest withElasticsearchSettings(ElasticsearchSettings elasticsearchSettings) {
        setElasticsearchSettings(elasticsearchSettings);
        return this;
    }
<p>
Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings,
see <a href=
"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration"
>Extra Connection Attributes When Using OpenSearch as a Target for DMS</a> in the <i>Database Migration Service
User Guide</i>.
</p>

@param elasticsearchSettings
       Settings in JSON format for the target OpenSearch endpoint. For more information about the available
       settings, see <a href=
       "https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration"
       >Extra Connection Attributes When Using OpenSearch as a Target for DMS</a> in the <i>Database Migration
       Service User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/CreateEndpointRequest.java