Class ComputeInstanceEnvironmentInfo


  • public final class ComputeInstanceEnvironmentInfo
    extends Object
    Environment information.
    • Constructor Detail

      • ComputeInstanceEnvironmentInfo

        public ComputeInstanceEnvironmentInfo()
    • Method Detail

      • name

        public String name()
        Get the name property: name of environment.
        Returns:
        the name value.
      • withName

        public ComputeInstanceEnvironmentInfo withName​(String name)
        Set the name property: name of environment.
        Parameters:
        name - the name value to set.
        Returns:
        the ComputeInstanceEnvironmentInfo object itself.
      • version

        public String version()
        Get the version property: version of environment.
        Returns:
        the version value.
      • withVersion

        public ComputeInstanceEnvironmentInfo withVersion​(String version)
        Set the version property: version of environment.
        Parameters:
        version - the version value to set.
        Returns:
        the ComputeInstanceEnvironmentInfo object itself.
      • validate

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