Interface DeviceData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceData.Builder,DeviceData>,SdkBuilder<DeviceData.Builder,DeviceData>,SdkPojo
- Enclosing class:
- DeviceData
public static interface DeviceData.Builder extends SdkPojo, CopyableBuilder<DeviceData.Builder,DeviceData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeviceData.BuildercreatedTime(Instant createdTime)The time (in epoch) when the device data was created.DeviceData.BuilderdeviceArn(String deviceArn)The ARN of a device.DeviceData.BuilderdeviceName(String deviceName)The name of a device.DeviceData.BuilderdeviceSerialNumber(String deviceSerialNumber)The serial number of a device.DeviceData.BuilderdeviceStatus(String deviceStatus)The status of a device.DeviceData.BuilderdeviceStatus(DeviceStatus deviceStatus)The status of a device.default DeviceData.BuilderdeviceStatusInfo(Consumer<DeviceStatusInfo.Builder> deviceStatusInfo)Detailed information about a device's status.DeviceData.BuilderdeviceStatusInfo(DeviceStatusInfo deviceStatusInfo)Detailed information about a device's status.DeviceData.BuilderdeviceType(String deviceType)The type of a device.DeviceData.BuildermacAddress(String macAddress)The MAC address of a device.DeviceData.BuildernetworkProfileArn(String networkProfileArn)The ARN of the network profile associated with a device.DeviceData.BuildernetworkProfileName(String networkProfileName)The name of the network profile associated with a device.DeviceData.BuilderroomArn(String roomArn)The room ARN associated with a device.DeviceData.BuilderroomName(String roomName)The name of the room associated with a device.DeviceData.BuildersoftwareVersion(String softwareVersion)The software version of a device.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
deviceArn
DeviceData.Builder deviceArn(String deviceArn)
The ARN of a device.
- Parameters:
deviceArn- The ARN of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceSerialNumber
DeviceData.Builder deviceSerialNumber(String deviceSerialNumber)
The serial number of a device.
- Parameters:
deviceSerialNumber- The serial number of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceType
DeviceData.Builder deviceType(String deviceType)
The type of a device.
- Parameters:
deviceType- The type of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceName
DeviceData.Builder deviceName(String deviceName)
The name of a device.
- Parameters:
deviceName- The name of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareVersion
DeviceData.Builder softwareVersion(String softwareVersion)
The software version of a device.
- Parameters:
softwareVersion- The software version of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macAddress
DeviceData.Builder macAddress(String macAddress)
The MAC address of a device.
- Parameters:
macAddress- The MAC address of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceStatus
DeviceData.Builder deviceStatus(String deviceStatus)
The status of a device.
- Parameters:
deviceStatus- The status of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceStatus,DeviceStatus
-
deviceStatus
DeviceData.Builder deviceStatus(DeviceStatus deviceStatus)
The status of a device.
- Parameters:
deviceStatus- The status of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceStatus,DeviceStatus
-
networkProfileArn
DeviceData.Builder networkProfileArn(String networkProfileArn)
The ARN of the network profile associated with a device.
- Parameters:
networkProfileArn- The ARN of the network profile associated with a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkProfileName
DeviceData.Builder networkProfileName(String networkProfileName)
The name of the network profile associated with a device.
- Parameters:
networkProfileName- The name of the network profile associated with a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roomArn
DeviceData.Builder roomArn(String roomArn)
The room ARN associated with a device.
- Parameters:
roomArn- The room ARN associated with a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roomName
DeviceData.Builder roomName(String roomName)
The name of the room associated with a device.
- Parameters:
roomName- The name of the room associated with a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceStatusInfo
DeviceData.Builder deviceStatusInfo(DeviceStatusInfo deviceStatusInfo)
Detailed information about a device's status.
- Parameters:
deviceStatusInfo- Detailed information about a device's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceStatusInfo
default DeviceData.Builder deviceStatusInfo(Consumer<DeviceStatusInfo.Builder> deviceStatusInfo)
Detailed information about a device's status.
This is a convenience method that creates an instance of theDeviceStatusInfo.Builderavoiding the need to create one manually viaDeviceStatusInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeviceStatusInfo(DeviceStatusInfo).- Parameters:
deviceStatusInfo- a consumer that will call methods onDeviceStatusInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deviceStatusInfo(DeviceStatusInfo)
-
createdTime
DeviceData.Builder createdTime(Instant createdTime)
The time (in epoch) when the device data was created.
- Parameters:
createdTime- The time (in epoch) when the device data was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-