Package dev.restate.admin.model
Class ServiceMetadata
java.lang.Object
dev.restate.admin.model.ServiceMetadata
ServiceMetadata
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddHandlersItem
(HandlerMetadata handlersItem) deploymentId
(String deploymentId) boolean
Return true if this ServiceMetadata object is equal to o.Deployment exposing the latest revision of the service.Get handlersThe retention duration of idempotent requests for this service.getName()
Fully qualified name of the serviceIf true, the service can be invoked through the ingress.Latest revision of the service.getTy()
Get tyThe retention duration of workflows.handlers
(List<HandlerMetadata> handlers) int
hashCode()
idempotencyRetention
(String idempotencyRetention) void
setDeploymentId
(String deploymentId) void
setHandlers
(List<HandlerMetadata> handlers) void
setIdempotencyRetention
(String idempotencyRetention) void
void
void
setRevision
(Integer revision) void
setTy
(ServiceType ty) void
setWorkflowCompletionRetention
(String workflowCompletionRetention) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.ty
(ServiceType ty) workflowCompletionRetention
(String workflowCompletionRetention)
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_HANDLERS
- See Also:
-
JSON_PROPERTY_TY
- See Also:
-
JSON_PROPERTY_DEPLOYMENT_ID
- See Also:
-
JSON_PROPERTY_REVISION
- See Also:
-
JSON_PROPERTY_PUBLIC
- See Also:
-
JSON_PROPERTY_IDEMPOTENCY_RETENTION
- See Also:
-
JSON_PROPERTY_WORKFLOW_COMPLETION_RETENTION
- See Also:
-
-
Constructor Details
-
ServiceMetadata
public ServiceMetadata()
-
-
Method Details
-
name
-
getName
Fully qualified name of the service- Returns:
- name
-
setName
-
handlers
-
addHandlersItem
-
getHandlers
Get handlers- Returns:
- handlers
-
setHandlers
-
ty
-
getTy
Get ty- Returns:
- ty
-
setTy
-
deploymentId
-
getDeploymentId
Deployment exposing the latest revision of the service.- Returns:
- deploymentId
-
setDeploymentId
-
revision
-
getRevision
Latest revision of the service. minimum: 0- Returns:
- revision
-
setRevision
-
_public
-
getPublic
If true, the service can be invoked through the ingress. If false, the service can be invoked only from another Restate service.- Returns:
- _public
-
setPublic
-
idempotencyRetention
-
getIdempotencyRetention
The retention duration of idempotent requests for this service.- Returns:
- idempotencyRetention
-
setIdempotencyRetention
-
workflowCompletionRetention
-
getWorkflowCompletionRetention
The retention duration of workflows. Only available on workflow services.- Returns:
- workflowCompletionRetention
-
setWorkflowCompletionRetention
-
equals
Return true if this ServiceMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-