class StackDownscaleValidatorService {

    public void checkClusterInValidStatus(Cluster cluster) {
        if (cluster.getStatus() == Status.STOPPED) {
            throw new BadRequestException("Cluster is in Stopped status. Please start the cluster for downscale.");
        }
    }

}