Interface SystemInfo.Builder

  • Method Details

    • cpuArchitecture

      SystemInfo.Builder cpuArchitecture(String cpuArchitecture)

      CPU architecture type for the server.

      Parameters:
      cpuArchitecture - CPU architecture type for the server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileSystemType

      SystemInfo.Builder fileSystemType(String fileSystemType)

      File system type for the server.

      Parameters:
      fileSystemType - File system type for the server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInfoList

      SystemInfo.Builder networkInfoList(Collection<NetworkInfo> networkInfoList)

      Networking information related to a server.

      Parameters:
      networkInfoList - Networking information related to a server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInfoList

      SystemInfo.Builder networkInfoList(NetworkInfo... networkInfoList)

      Networking information related to a server.

      Parameters:
      networkInfoList - Networking information related to a server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInfoList

      SystemInfo.Builder networkInfoList(Consumer<NetworkInfo.Builder>... networkInfoList)

      Networking information related to a server.

      This is a convenience method that creates an instance of the NetworkInfo.Builder avoiding the need to create one manually via NetworkInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkInfoList(List<NetworkInfo>).

      Parameters:
      networkInfoList - a consumer that will call methods on NetworkInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • osInfo

      SystemInfo.Builder osInfo(OSInfo osInfo)

      Operating system corresponding to a server.

      Parameters:
      osInfo - Operating system corresponding to a server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • osInfo

      default SystemInfo.Builder osInfo(Consumer<OSInfo.Builder> osInfo)

      Operating system corresponding to a server.

      This is a convenience method that creates an instance of the OSInfo.Builder avoiding the need to create one manually via OSInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to osInfo(OSInfo).

      Parameters:
      osInfo - a consumer that will call methods on OSInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: