Class CapabilitiesCapabilities


  • public final class CapabilitiesCapabilities
    extends Object
    The supported capabilities.
    • Constructor Detail

      • CapabilitiesCapabilities

        public CapabilitiesCapabilities()
    • Method Detail

      • maxMemoryInGB

        public Float maxMemoryInGB()
        Get the maxMemoryInGB property: The maximum allowed memory request in GB.
        Returns:
        the maxMemoryInGB value.
      • maxCpu

        public Float maxCpu()
        Get the maxCpu property: The maximum allowed CPU request in cores.
        Returns:
        the maxCpu value.
      • maxGpuCount

        public Float maxGpuCount()
        Get the maxGpuCount property: The maximum allowed GPU count.
        Returns:
        the maxGpuCount value.
      • validate

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