Class JobUpdateRequest

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class JobUpdateRequest extends Object
JobUpdateRequest
  • Field Details

  • Constructor Details

    • JobUpdateRequest

      public JobUpdateRequest()
  • Method Details

    • changeset

      public JobUpdateRequest changeset(@Nonnull JobChangeset changeset)
    • getChangeset

      @Nonnull public JobChangeset getChangeset()
      Get changeset
      Returns:
      changeset
    • setChangeset

      public void setChangeset(@Nonnull JobChangeset changeset)
    • operationReference

      public JobUpdateRequest operationReference(@Nullable Long operationReference)
    • getOperationReference

      @Nullable public Long getOperationReference()
      A reference key chosen by the user that will be part of all records resulting from this operation. Must be > 0 if provided. minimum: 1
      Returns:
      operationReference
    • setOperationReference

      public void setOperationReference(@Nullable Long operationReference)
    • leaseToken

      public JobUpdateRequest leaseToken(@Nullable String leaseToken)
    • getLeaseToken

      @Nullable public String getLeaseToken()
      The token identifying a leased job's activation, obtained from `ActivatedJobResult.leaseToken`. For a leased job, a supplied token is validated to prove the command comes from the worker that holds the current lease; a command carrying a stale token is rejected, fencing the job against a superseded activation (for example, after the job timed out or failed and was re-activated by another worker). An update without a token always applies to support operator and bulk updates of leased jobs. Note that this is different from lifecycle requests like complete, fail, and throw-error that always require a token for leased jobs. A job that was activated without a lease requires no token.
      Returns:
      leaseToken
    • setLeaseToken

      public void setLeaseToken(@Nullable String leaseToken)
    • 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