Class ModifyServiceRequest

java.lang.Object
dev.restate.admin.model.ModifyServiceRequest

public class ModifyServiceRequest extends Object
ModifyServiceRequest
  • Field Details

  • Constructor Details

    • ModifyServiceRequest

      public ModifyServiceRequest()
  • Method Details

    • _public

      public ModifyServiceRequest _public(Boolean _public)
    • getPublic

      @Nullable public Boolean 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

      public void setPublic(Boolean _public)
    • idempotencyRetention

      public ModifyServiceRequest idempotencyRetention(String idempotencyRetention)
    • getIdempotencyRetention

      @Nullable public String 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

      public void setIdempotencyRetention(String idempotencyRetention)
    • workflowCompletionRetention

      public ModifyServiceRequest workflowCompletionRetention(String workflowCompletionRetention)
    • getWorkflowCompletionRetention

      @Nullable public String 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

      public void setWorkflowCompletionRetention(String workflowCompletionRetention)
    • equals

      public boolean equals(Object o)
      Return true if this ModifyServiceRequest object is equal to 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