public java.util.Map<String, String> getEndpoints() {
        return endpoints;
    }
<p>
The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:
</p>
<ul>
<li>
<p>
<b>IPv4 IP addresses</b> -
<code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>
</p>
</li>
<li>
<p>
<b>Dual stack IP addresses</b> -
<code>'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'</code>
</p>
</li>
</ul>

@return The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:</p>
        <ul>
        <li>
        <p>
        <b>IPv4 IP addresses</b> -
        <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>
        </p>
        </li>
        <li>
        <p>
        <b>Dual stack IP addresses</b> -
        <code>'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'</code>
        </p>
        </li>
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DomainStatus.java