java.lang.Object
dev.restate.sdk.core.generated.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)
    • getInactivityTimeout

      public Long getInactivityTimeout()
      Inactivity timeout duration, expressed in milliseconds.
    • setInactivityTimeout

      public void setInactivityTimeout(Long inactivityTimeout)
      Inactivity timeout duration, expressed in milliseconds.
    • withInactivityTimeout

      public Service withInactivityTimeout(Long inactivityTimeout)
    • getAbortTimeout

      public Long getAbortTimeout()
      Abort timeout duration, expressed in milliseconds.
    • setAbortTimeout

      public void setAbortTimeout(Long abortTimeout)
      Abort timeout duration, expressed in milliseconds.
    • withAbortTimeout

      public Service withAbortTimeout(Long abortTimeout)
    • getJournalRetention

      public Long getJournalRetention()
      Journal retention duration, expressed in milliseconds.
    • setJournalRetention

      public void setJournalRetention(Long journalRetention)
      Journal retention duration, expressed in milliseconds.
    • withJournalRetention

      public Service withJournalRetention(Long journalRetention)
    • getIdempotencyRetention

      public Long getIdempotencyRetention()
      Idempotency retention duration, expressed in milliseconds. When ServiceType == WORKFLOW, this option will be applied only to the shared handlers. See workflowCompletionRetention for more details.
    • setIdempotencyRetention

      public void setIdempotencyRetention(Long idempotencyRetention)
      Idempotency retention duration, expressed in milliseconds. When ServiceType == WORKFLOW, this option will be applied only to the shared handlers. See workflowCompletionRetention for more details.
    • withIdempotencyRetention

      public Service withIdempotencyRetention(Long idempotencyRetention)
    • getEnableLazyState

      public Boolean getEnableLazyState()
      If true, lazy state is enabled.
    • setEnableLazyState

      public void setEnableLazyState(Boolean enableLazyState)
      If true, lazy state is enabled.
    • withEnableLazyState

      public Service withEnableLazyState(Boolean enableLazyState)
    • getIngressPrivate

      public Boolean getIngressPrivate()
      If true, the service cannot be invoked from the HTTP nor Kafka ingress.
    • setIngressPrivate

      public void setIngressPrivate(Boolean ingressPrivate)
      If true, the service cannot be invoked from the HTTP nor Kafka ingress.
    • withIngressPrivate

      public Service withIngressPrivate(Boolean ingressPrivate)
    • 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