Package dev.restate.admin.model
Class ModifyServiceRequest
java.lang.Object
dev.restate.admin.model.ModifyServiceRequest
ModifyServiceRequest
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this ModifyServiceRequest object is equal to o.Modify the retention of idempotent requests for this service.If true, the service can be invoked through the ingress.Modify the retention of the workflow completion.int
hashCode()
idempotencyRetention
(String idempotencyRetention) void
setIdempotencyRetention
(String idempotencyRetention) void
void
setWorkflowCompletionRetention
(String workflowCompletionRetention) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.workflowCompletionRetention
(String workflowCompletionRetention)
-
Field Details
-
JSON_PROPERTY_PUBLIC
- See Also:
-
JSON_PROPERTY_IDEMPOTENCY_RETENTION
- See Also:
-
JSON_PROPERTY_WORKFLOW_COMPLETION_RETENTION
- See Also:
-
-
Constructor Details
-
ModifyServiceRequest
public ModifyServiceRequest()
-
-
Method Details
-
_public
-
getPublic
If true, the service can be invoked through the ingress. If false, the service can be invoked only from another Restate service.- Returns:
- _public
-
setPublic
-
idempotencyRetention
-
getIdempotencyRetention
Modify the retention of idempotent requests for this service. Can be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format.- Returns:
- idempotencyRetention
-
setIdempotencyRetention
-
workflowCompletionRetention
-
getWorkflowCompletionRetention
Modify the retention of the workflow completion. This can be modified only for workflow services! Can be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format.- Returns:
- workflowCompletionRetention
-
setWorkflowCompletionRetention
-
equals
Return true if this ModifyServiceRequest object is equal to o. -
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
-