Class JobFailRequest

java.lang.Object
io.camunda.client.protocol.rest.JobFailRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-04T12:01:10.435788262Z[GMT]", comments="Generator version: 7.12.0") public class JobFailRequest extends Object
JobFailRequest
  • Field Details

  • Constructor Details

    • JobFailRequest

      public JobFailRequest()
  • Method Details

    • retries

      public JobFailRequest retries(@Nullable Integer retries)
    • getRetries

      @Nullable public Integer getRetries()
      The amount of retries the job should have left
      Returns:
      retries
    • setRetries

      public void setRetries(@Nullable Integer retries)
    • errorMessage

      public JobFailRequest errorMessage(@Nullable String errorMessage)
    • getErrorMessage

      @Nullable public String getErrorMessage()
      An optional message describing why the job failed. This is particularly useful if a job runs out of retries and an incident is raised, as this message can help explain why an incident was raised.
      Returns:
      errorMessage
    • setErrorMessage

      public void setErrorMessage(@Nullable String errorMessage)
    • retryBackOff

      public JobFailRequest retryBackOff(@Nullable Long retryBackOff)
    • getRetryBackOff

      @Nullable public Long getRetryBackOff()
      The backoff timeout (in ms) for the next retry.
      Returns:
      retryBackOff
    • setRetryBackOff

      public void setRetryBackOff(@Nullable Long retryBackOff)
    • variables

      public JobFailRequest variables(@Nullable Map<String,Object> variables)
    • putVariablesItem

      public JobFailRequest putVariablesItem(String key, Object variablesItem)
    • getVariables

      @Nullable public Map<String,Object> getVariables()
      JSON object that will instantiate the variables at the local scope of the job's associated task.
      Returns:
      variables
    • setVariables

      public void setVariables(@Nullable Map<String,Object> variables)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string