public AwsElasticsearchDomainDetails withEndpoints(java.util.Map<String, String> endpoints) {
        setEndpoints(endpoints);
        return this;
    }
<p>
The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
</p>

@param endpoints
       The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsElasticsearchDomainDetails.java