public void setHosts(java.util.Collection<Host> hosts) {
        if (hosts == null) {
            this.hosts = null;
            return;
        }

        this.hosts = new com.amazonaws.internal.SdkInternalList<Host>(hosts);
    }
<p>
Information about the Dedicated Hosts.
</p>

@param hosts
       Information about the Dedicated Hosts.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeHostsResult.java