public void setDomainNames(java.util.Collection<String> domainNames) {
        if (domainNames == null) {
            this.domainNames = null;
            return;
        }

        this.domainNames = new java.util.ArrayList<String>(domainNames);
    }
<p>
Array of OpenSearch Service domain names that you want information about. You must specify at least one domain
name.
</p>

@param domainNames
       Array of OpenSearch Service domain names that you want information about. You must specify at least one
       domain name.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DescribeDomainsRequest.java