Class JobChangeset

java.lang.Object
io.camunda.zeebe.client.protocol.rest.JobChangeset

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-07T11:57:41.291335755Z[GMT]", comments="Generator version: 7.8.0") public class JobChangeset extends Object
JSON object with changed job attribute values. The following attributes can be adjusted with this endpoint, additional attributes will be ignored: * `retries` - The new amount of retries for the job; must be a positive number. * `timeout` - The duration of the new timeout in ms, starting from the current moment. Providing any of those attributes with a null value or omitting it preserves the persisted attribute’s value. The job cannot be completed or failed with this endpoint, use the complete job or fail job endpoints instead.
  • Field Details

  • Constructor Details

    • JobChangeset

      public JobChangeset()
  • Method Details

    • retries

      public JobChangeset retries(Integer retries)
    • getRetries

      @Nullable public Integer getRetries()
      The new amount of retries for the job; must be a positive number.
      Returns:
      retries
    • setRetries

      public void setRetries(Integer retries)
    • timeout

      public JobChangeset timeout(Long timeout)
    • getTimeout

      @Nullable public Long getTimeout()
      The duration of the new timeout in ms, starting from the current moment.
      Returns:
      timeout
    • setTimeout

      public void setTimeout(Long timeout)
    • 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