public static class OperatingSystem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OperatingSystem.Builder |
architecture(String architecture)
The architecture of the operating system as provided by the Java system property os.arch.
|
OperatingSystem |
build() |
OperatingSystem.Builder |
copy(OperatingSystem model) |
OperatingSystem.Builder |
family(OsFamily family)
The operating system type, such as Windows, Linux or macOS
|
OperatingSystem.Builder |
managedInstanceCount(Integer managedInstanceCount)
Number of instances running the operating system.
|
OperatingSystem.Builder |
name(String name)
The name of the operating system as provided by the Java system property os.name.
|
OperatingSystem.Builder |
version(String version)
The version of the operating system as provided by the Java system property os.version.
|
public OperatingSystem.Builder family(OsFamily family)
The operating system type, such as Windows, Linux or macOS
family
- the value to setpublic OperatingSystem.Builder name(String name)
The name of the operating system as provided by the Java system property os.name.
name
- the value to setpublic OperatingSystem.Builder version(String version)
The version of the operating system as provided by the Java system property os.version.
version
- the value to setpublic OperatingSystem.Builder architecture(String architecture)
The architecture of the operating system as provided by the Java system property os.arch.
architecture
- the value to setpublic OperatingSystem.Builder managedInstanceCount(Integer managedInstanceCount)
Number of instances running the operating system.
managedInstanceCount
- the value to setpublic OperatingSystem build()
public OperatingSystem.Builder copy(OperatingSystem model)
Copyright © 2016–2024. All rights reserved.