Class AgentProperties


  • public final class AgentProperties
    extends Object
    The properties that determine the run agent configuration.
    • Constructor Detail

      • AgentProperties

        public AgentProperties()
    • Method Detail

      • cpu

        public Integer cpu()
        Get the cpu property: The CPU configuration in terms of number of cores required for the run.
        Returns:
        the cpu value.
      • withCpu

        public AgentProperties withCpu​(Integer cpu)
        Set the cpu property: The CPU configuration in terms of number of cores required for the run.
        Parameters:
        cpu - the cpu value to set.
        Returns:
        the AgentProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.