public AwsAmazonMqBrokerLdapServerMetadataDetails withHosts(java.util.Collection<String> hosts) {
        setHosts(hosts);
        return this;
    }
<p>
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active
Directory.
</p>

@param hosts
       Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft
       Active Directory.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsAmazonMqBrokerLdapServerMetadataDetails.java