DeviceSpec.Builder

public static class DeviceSpec.Builder

A Builder class for building DeviceSpec class.

Public Methods

DeviceSpec
build()
DeviceSpec.Builder
deviceIndex(Integer deviceIndex)
DeviceSpec.Builder
DeviceSpec.Builder
job(String job)
DeviceSpec.Builder
replica(Integer replica)
DeviceSpec.Builder
task(Integer task)

Inherited Methods

Public Methods

public DeviceSpec build ()

public DeviceSpec.Builder deviceIndex (Integer deviceIndex)

public DeviceSpec.Builder deviceType (DeviceSpec.DeviceType deviceType)

public DeviceSpec.Builder job (String job)

public DeviceSpec.Builder replica (Integer replica)

public DeviceSpec.Builder task (Integer task)