class ScaleWithLabelsEquivalent {
  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    try (final KubernetesClient k8s = new KubernetesClientBuilder().build()) {
      k8s.apps().statefulSets().inNamespace("default")
          .withLabel("app", "my-database")
          .resources()
          .forEach(s -> s.scale(4));
    }
  
<no_super_class>