Class WorkerPoolToken
java.lang.Object
co.yellowdog.platform.model.WorkerPoolToken
- All Implemented Interfaces:
Serializable
Defines a secret token shared with an agent in advance of its registration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkerPoolToken.Builderbuilder()protected booleanbooleanThe token expiry time.The token secret.inthashCode()voidsetExpiryTime(Instant expiryTime) The token expiry time.voidThe token secret.toString()
-
Method Details
-
builder
-
getSecret
-
getExpiryTime
-
setSecret
-
setExpiryTime
The token expiry time.- Parameters:
expiryTime- the token expiry time
-
equals
-
canEqual
-
hashCode
-
toString
-