@Override
    public String toString() {
        return this.value;
    }
<p>
The connection mode for the cross-cluster connection.
</p>
<ul>
<li>
<p>
<b>DIRECT</b> - Used for cross-cluster search or cross-cluster replication.
</p>
</li>
<li>
<p>
<b>VPC_ENDPOINT</b> - Used for remote reindex between Amazon OpenSearch Service VPC domains.
</p>
</li>
</ul>
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/ConnectionMode.java