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

    try (KubernetesClient client = new KubernetesClientBuilder().build()) {
      CertificateSigningRequestCondition csrCondition = new CertificateSigningRequestConditionBuilder()
          .withType("Denied")
          .withStatus("True")
          .withReason("DeniedViaRESTApi")
          .withMessage("Denied by REST API /approval endpoint.")
          .build();
      client.certificates().v1().certificateSigningRequests().withName("my-cert").deny(csrCondition);
    }
  
<no_super_class>