Class Handler

java.lang.Object
dev.restate.sdk.core.manifest.Handler

@Generated("jsonschema2pojo") public class Handler extends Object
Handler

  • Constructor Details

    • Handler

      public Handler()
  • Method Details

    • getName

      public String getName()
      (Required)
    • setName

      public void setName(String name)
      (Required)
    • withName

      public Handler withName(String name)
    • getDocumentation

      public String getDocumentation()
      Documentation for this handler definition. No format is enforced, but generally Markdown is assumed.
    • setDocumentation

      public void setDocumentation(String documentation)
      Documentation for this handler definition. No format is enforced, but generally Markdown is assumed.
    • withDocumentation

      public Handler withDocumentation(String documentation)
    • getTy

      public Handler.Ty getTy()
      HandlerType

      If unspecified, defaults to EXCLUSIVE for Virtual Object or WORKFLOW for Workflows. This should be unset for Services.

    • setTy

      public void setTy(Handler.Ty ty)
      HandlerType

      If unspecified, defaults to EXCLUSIVE for Virtual Object or WORKFLOW for Workflows. This should be unset for Services.

    • withTy

      public Handler withTy(Handler.Ty ty)
    • getInput

      public Input getInput()
      InputPayload

      Description of an input payload. This will be used by Restate to validate incoming requests.

    • setInput

      public void setInput(Input input)
      InputPayload

      Description of an input payload. This will be used by Restate to validate incoming requests.

    • withInput

      public Handler withInput(Input input)
    • getOutput

      public Output getOutput()
      OutputPayload

      Description of an output payload.

    • setOutput

      public void setOutput(Output output)
      OutputPayload

      Description of an output payload.

    • withOutput

      public Handler withOutput(Output output)
    • getMetadata

      public Metadata getMetadata()
      Custom metadata of this handler definition. This metadata is shown on the Admin API when querying the service/handler definition.
    • setMetadata

      public void setMetadata(Metadata metadata)
      Custom metadata of this handler definition. This metadata is shown on the Admin API when querying the service/handler definition.
    • withMetadata

      public Handler withMetadata(Metadata metadata)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object