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)
    • 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)
    • 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