Class AddConfiguredWorkerPoolRequest
java.lang.Object
co.yellowdog.platform.interaction.scheduler.AddConfiguredWorkerPoolRequest
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetName()The name used to uniquely identify the worker pool.The namespace that this worker pool is constrained to.The time-to-live of the worker pool token.inthashCode()voidThe name used to uniquely identify the worker pool.voidsetNamespace(String namespace) The namespace that this worker pool is constrained to.voidsetProperties(ConfiguredWorkerPoolProperties properties) voidsetTokenTtl(Duration tokenTtl) The time-to-live of the worker pool token.toString()
-
Method Details
-
builder
-
getName
The name used to uniquely identify the worker pool.- Returns:
- the worker pool name
-
getNamespace
The namespace that this worker pool is constrained to.- Returns:
- the namespace that the worker pool is constrained to
-
getTokenTtl
The time-to-live of the worker pool token. Workers have this much time, from the creation of the worker token, to register. If not set, workers have an unlimited length of time to register.- Returns:
- the token TTL
-
getProperties
-
setName
The name used to uniquely identify the worker pool. -
setNamespace
The namespace that this worker pool is constrained to. -
setTokenTtl
The time-to-live of the worker pool token. Workers have this much time, from the creation of the worker token, to register. If not set, workers have an unlimited length of time to register. -
setProperties
-
equals
-
canEqual
-
hashCode
-
toString
-