code: public ElasticsearchDomainStatus withEndpoints(java.util.Map<String, String> endpoints) {
          setEndpoints(endpoints);
          return this;
      }
docs: <p>
  Map containing the Elasticsearch domain endpoints used to submit index and search requests. Example
  <code>key, value</code>:
  <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>.
  </p>
  
  @param endpoints
  Map containing the Elasticsearch domain endpoints used to submit index and search requests. Example
  <code>key, value</code>:
  <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>.
  @return Returns a reference to this object so that method calls can be chained together.