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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The new amount of retries for the job; must be a positive number.The duration of the new timeout in ms, starting from the current moment.int
hashCode()
void
setRetries
(Integer retries) void
setTimeout
(Long timeout) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_RETRIES
- See Also:
-
JSON_PROPERTY_TIMEOUT
- See Also:
-
-
Constructor Details
-
JobChangeset
public JobChangeset()
-
-
Method Details
-
retries
-
getRetries
The new amount of retries for the job; must be a positive number.- Returns:
- retries
-
setRetries
-
timeout
-
getTimeout
The duration of the new timeout in ms, starting from the current moment.- Returns:
- timeout
-
setTimeout
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-