Class AddConfiguredWorkerPoolRequest

java.lang.Object
co.yellowdog.platform.interaction.scheduler.AddConfiguredWorkerPoolRequest

public class AddConfiguredWorkerPoolRequest extends Object
  • Method Details

    • builder

      public static AddConfiguredWorkerPoolRequest.Builder builder()
    • getName

      public String getName()
      The name used to uniquely identify the worker pool.
      Returns:
      the worker pool name
    • getNamespace

      public String getNamespace()
      The namespace that this worker pool is constrained to.
      Returns:
      the namespace that the worker pool is constrained to
    • getTokenTtl

      public Duration 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

      public ConfiguredWorkerPoolProperties getProperties()
    • setName

      public void setName(String name)
      The name used to uniquely identify the worker pool.
    • setNamespace

      public void setNamespace(String namespace)
      The namespace that this worker pool is constrained to.
    • setTokenTtl

      public void setTokenTtl(Duration tokenTtl)
      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

      public void setProperties(ConfiguredWorkerPoolProperties properties)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object