Class ComputeInstanceVersion


  • public final class ComputeInstanceVersion
    extends Object
    Version of computeInstance.
    • Constructor Detail

      • ComputeInstanceVersion

        public ComputeInstanceVersion()
    • Method Detail

      • runtime

        public String runtime()
        Get the runtime property: Runtime of compute instance.
        Returns:
        the runtime value.
      • withRuntime

        public ComputeInstanceVersion withRuntime​(String runtime)
        Set the runtime property: Runtime of compute instance.
        Parameters:
        runtime - the runtime value to set.
        Returns:
        the ComputeInstanceVersion object itself.
      • validate

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