Class OperatingSystem.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • family

        public OperatingSystem.Builder family​(OsFamily family)
        The operating system type, such as Windows, Linux or macOS
        Parameters:
        family - the value to set
        Returns:
        this builder
      • name

        public OperatingSystem.Builder name​(String name)
        The name of the operating system as provided by the Java system property os.name.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • distribution

        public OperatingSystem.Builder distribution​(String distribution)
        The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X.
        Parameters:
        distribution - the value to set
        Returns:
        this builder
      • version

        public OperatingSystem.Builder version​(String version)
        The version of the operating system as provided by the Java system property os.version.
        Parameters:
        version - the value to set
        Returns:
        this builder
      • architecture

        public OperatingSystem.Builder architecture​(String architecture)
        The architecture of the operating system as provided by the Java system property os.arch.
        Parameters:
        architecture - the value to set
        Returns:
        this builder
      • managedInstanceCount

        public OperatingSystem.Builder managedInstanceCount​(Integer managedInstanceCount)
        Number of instances running the operating system.
        Parameters:
        managedInstanceCount - the value to set
        Returns:
        this builder