Class Service
java.lang.Object
dev.restate.sdk.core.generated.manifest.Service
Service
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Abort timeout duration, expressed in milliseconds.Documentation for this service definition.If true, lazy state is enabled.(Required)Idempotency retention duration, expressed in milliseconds.Inactivity timeout duration, expressed in milliseconds.If true, the service cannot be invoked from the HTTP nor Kafka ingress.Journal retention duration, expressed in milliseconds.Custom metadata of this service definition.getName()
(Required)getTy()
ServiceTypeint
hashCode()
void
setAbortTimeout
(Long abortTimeout) Abort timeout duration, expressed in milliseconds.void
setDocumentation
(String documentation) Documentation for this service definition.void
setEnableLazyState
(Boolean enableLazyState) If true, lazy state is enabled.void
setHandlers
(List<Handler> handlers) (Required)void
setIdempotencyRetention
(Long idempotencyRetention) Idempotency retention duration, expressed in milliseconds.void
setInactivityTimeout
(Long inactivityTimeout) Inactivity timeout duration, expressed in milliseconds.void
setIngressPrivate
(Boolean ingressPrivate) If true, the service cannot be invoked from the HTTP nor Kafka ingress.void
setJournalRetention
(Long journalRetention) Journal retention duration, expressed in milliseconds.void
setMetadata
(Metadata__1 metadata) Custom metadata of this service definition.void
(Required)void
setTy
(Service.Ty ty) ServiceTypetoString()
withAbortTimeout
(Long abortTimeout) withDocumentation
(String documentation) withEnableLazyState
(Boolean enableLazyState) withHandlers
(List<Handler> handlers) withIdempotencyRetention
(Long idempotencyRetention) withInactivityTimeout
(Long inactivityTimeout) withIngressPrivate
(Boolean ingressPrivate) withJournalRetention
(Long journalRetention) withMetadata
(Metadata__1 metadata) withTy
(Service.Ty ty)
-
Constructor Details
-
Service
public Service()
-
-
Method Details
-
getName
(Required) -
setName
(Required) -
withName
-
getDocumentation
Documentation for this service definition. No format is enforced, but generally Markdown is assumed. -
setDocumentation
Documentation for this service definition. No format is enforced, but generally Markdown is assumed. -
withDocumentation
-
getTy
ServiceType(Required)
-
setTy
ServiceType(Required)
-
withTy
-
getHandlers
(Required) -
setHandlers
(Required) -
withHandlers
-
getInactivityTimeout
Inactivity timeout duration, expressed in milliseconds. -
setInactivityTimeout
Inactivity timeout duration, expressed in milliseconds. -
withInactivityTimeout
-
getAbortTimeout
Abort timeout duration, expressed in milliseconds. -
setAbortTimeout
Abort timeout duration, expressed in milliseconds. -
withAbortTimeout
-
getJournalRetention
Journal retention duration, expressed in milliseconds. -
setJournalRetention
Journal retention duration, expressed in milliseconds. -
withJournalRetention
-
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
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
-
getEnableLazyState
If true, lazy state is enabled. -
setEnableLazyState
If true, lazy state is enabled. -
withEnableLazyState
-
getIngressPrivate
If true, the service cannot be invoked from the HTTP nor Kafka ingress. -
setIngressPrivate
If true, the service cannot be invoked from the HTTP nor Kafka ingress. -
withIngressPrivate
-
getMetadata
Custom metadata of this service definition. This metadata is shown on the Admin API when querying the service definition. -
setMetadata
Custom metadata of this service definition. This metadata is shown on the Admin API when querying the service definition. -
withMetadata
-
toString
-
hashCode
public int hashCode() -
equals
-