public String getEndpointV2() {
        return this.endpointV2;
    }
<p>
If <code>IPAddressType</code> to set to <code>dualstack</code>, a version 2 domain endpoint is provisioned. This
endpoint functions like a normal endpoint, except that it works with both IPv4 and IPv6 IP addresses. Normal
endpoints work only with IPv4 IP addresses.
</p>

@return If <code>IPAddressType</code> to set to <code>dualstack</code>, a version 2 domain endpoint is
        provisioned. This endpoint functions like a normal endpoint, except that it works with both IPv4 and IPv6
        IP addresses. Normal endpoints work only with IPv4 IP addresses.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DomainStatus.java