public java.util.List<DomainInfo> getDomainNames() {
        return domainNames;
    }
<p>
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
</p>

@return The names of all OpenSearch Service domains owned by the current user and their respective engine types.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/ListDomainNamesResult.java