Class Service

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

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

  • Constructor Details

    • Service

      public Service()
  • Method Details

    • getName

      public String getName()
      (Required)
    • setName

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

      public Service withName(String name)
    • getDocumentation

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

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

      public Service withDocumentation(String documentation)
    • getTy

      public Service.Ty getTy()
      ServiceType

      (Required)

    • setTy

      public void setTy(Service.Ty ty)
      ServiceType

      (Required)

    • withTy

      public Service withTy(Service.Ty ty)
    • getHandlers

      public List<Handler> getHandlers()
      (Required)
    • setHandlers

      public void setHandlers(List<Handler> handlers)
      (Required)
    • withHandlers

      public Service withHandlers(List<Handler> handlers)
    • getMetadata

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

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

      public Service withMetadata(Metadata__1 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