Package com.seam.api.types
Class Device.Builder
- java.lang.Object
-
- com.seam.api.types.Device.Builder
-
- All Implemented Interfaces:
Device._FinalStage,Device.ConnectedAccountIdStage,Device.CreatedAtStage,Device.DeviceIdStage,Device.DeviceTypeStage,Device.IsManagedStage,Device.PropertiesStage,Device.WorkspaceIdStage
- Enclosing class:
- Device
public static final class Device.Builder extends java.lang.Object implements Device.DeviceIdStage, Device.DeviceTypeStage, Device.PropertiesStage, Device.ConnectedAccountIdStage, Device.WorkspaceIdStage, Device.CreatedAtStage, Device.IsManagedStage, Device._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public Device.Builder from(Device other)
- Specified by:
fromin interfaceDevice.DeviceIdStage
-
deviceId
public Device.DeviceTypeStage deviceId(java.lang.String deviceId)
- Specified by:
deviceIdin interfaceDevice.DeviceIdStage
-
deviceType
public Device.PropertiesStage deviceType(DeviceType deviceType)
- Specified by:
deviceTypein interfaceDevice.DeviceTypeStage
-
properties
public Device.ConnectedAccountIdStage properties(DeviceProperties properties)
- Specified by:
propertiesin interfaceDevice.PropertiesStage
-
connectedAccountId
public Device.WorkspaceIdStage connectedAccountId(java.lang.String connectedAccountId)
- Specified by:
connectedAccountIdin interfaceDevice.ConnectedAccountIdStage
-
workspaceId
public Device.CreatedAtStage workspaceId(java.lang.String workspaceId)
- Specified by:
workspaceIdin interfaceDevice.WorkspaceIdStage
-
createdAt
public Device.IsManagedStage createdAt(java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceDevice.CreatedAtStage
-
isManaged
public Device._FinalStage isManaged(java.lang.String isManaged)
- Specified by:
isManagedin interfaceDevice.IsManagedStage
-
addAllWarnings
public Device._FinalStage addAllWarnings(java.util.List<DeviceWarningsItem> warnings)
- Specified by:
addAllWarningsin interfaceDevice._FinalStage
-
addWarnings
public Device._FinalStage addWarnings(DeviceWarningsItem warnings)
- Specified by:
addWarningsin interfaceDevice._FinalStage
-
warnings
public Device._FinalStage warnings(java.util.List<DeviceWarningsItem> warnings)
- Specified by:
warningsin interfaceDevice._FinalStage
-
addAllErrors
public Device._FinalStage addAllErrors(java.util.List<DeviceErrorsItem> errors)
- Specified by:
addAllErrorsin interfaceDevice._FinalStage
-
addErrors
public Device._FinalStage addErrors(DeviceErrorsItem errors)
- Specified by:
addErrorsin interfaceDevice._FinalStage
-
errors
public Device._FinalStage errors(java.util.List<DeviceErrorsItem> errors)
- Specified by:
errorsin interfaceDevice._FinalStage
-
location
public Device._FinalStage location(java.lang.Object location)
- Specified by:
locationin interfaceDevice._FinalStage
-
location
public Device._FinalStage location(java.util.Optional<java.lang.Object> location)
- Specified by:
locationin interfaceDevice._FinalStage
-
addAllCapabilitiesSupported
public Device._FinalStage addAllCapabilitiesSupported(java.util.List<DeviceCapabilitiesSupportedItem> capabilitiesSupported)
- Specified by:
addAllCapabilitiesSupportedin interfaceDevice._FinalStage
-
addCapabilitiesSupported
public Device._FinalStage addCapabilitiesSupported(DeviceCapabilitiesSupportedItem capabilitiesSupported)
- Specified by:
addCapabilitiesSupportedin interfaceDevice._FinalStage
-
capabilitiesSupported
public Device._FinalStage capabilitiesSupported(java.util.List<DeviceCapabilitiesSupportedItem> capabilitiesSupported)
- Specified by:
capabilitiesSupportedin interfaceDevice._FinalStage
-
build
public Device build()
- Specified by:
buildin interfaceDevice._FinalStage
-
-