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

        this.hostIds = new com.amazonaws.internal.SdkInternalList<String>(hostIds);
    }
<p>
The IDs of the EC2 Mac Dedicated Hosts.
</p>

@param hostIds
       The IDs of the EC2 Mac Dedicated Hosts.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeMacHostsRequest.java