Interface Device.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Device.Builder,Device>,SdkBuilder<Device.Builder,Device>,SdkPojo
- Enclosing class:
- Device
public static interface Device.Builder extends SdkPojo, CopyableBuilder<Device.Builder,Device>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Device.BuilderdeviceArn(String deviceArn)The ARN of a device.Device.BuilderdeviceName(String deviceName)The name of a device.Device.BuilderdeviceSerialNumber(String deviceSerialNumber)The serial number of a device.Device.BuilderdeviceStatus(String deviceStatus)The status of a device.Device.BuilderdeviceStatus(DeviceStatus deviceStatus)The status of a device.default Device.BuilderdeviceStatusInfo(Consumer<DeviceStatusInfo.Builder> deviceStatusInfo)Detailed information about a device's status.Device.BuilderdeviceStatusInfo(DeviceStatusInfo deviceStatusInfo)Detailed information about a device's status.Device.BuilderdeviceType(String deviceType)The type of a device.Device.BuildermacAddress(String macAddress)The MAC address of a device.default Device.BuildernetworkProfileInfo(Consumer<DeviceNetworkProfileInfo.Builder> networkProfileInfo)Detailed information about a device's network profile.Device.BuildernetworkProfileInfo(DeviceNetworkProfileInfo networkProfileInfo)Detailed information about a device's network profile.Device.BuilderroomArn(String roomArn)The room ARN of a device.Device.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
Device.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
Device.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
Device.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
Device.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
Device.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
Device.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.
-
roomArn
Device.Builder roomArn(String roomArn)
The room ARN of a device.
- Parameters:
roomArn- The room ARN of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceStatus
Device.Builder deviceStatus(String deviceStatus)
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
- Parameters:
deviceStatus- The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceStatus,DeviceStatus
-
deviceStatus
Device.Builder deviceStatus(DeviceStatus deviceStatus)
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
- Parameters:
deviceStatus- The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceStatus,DeviceStatus
-
deviceStatusInfo
Device.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 Device.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)
-
networkProfileInfo
Device.Builder networkProfileInfo(DeviceNetworkProfileInfo networkProfileInfo)
Detailed information about a device's network profile.
- Parameters:
networkProfileInfo- Detailed information about a device's network profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkProfileInfo
default Device.Builder networkProfileInfo(Consumer<DeviceNetworkProfileInfo.Builder> networkProfileInfo)
Detailed information about a device's network profile.
This is a convenience method that creates an instance of theDeviceNetworkProfileInfo.Builderavoiding the need to create one manually viaDeviceNetworkProfileInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkProfileInfo(DeviceNetworkProfileInfo).- Parameters:
networkProfileInfo- a consumer that will call methods onDeviceNetworkProfileInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
networkProfileInfo(DeviceNetworkProfileInfo)
-
-