Interface DeviceStatusInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceStatusInfo.Builder,,DeviceStatusInfo> SdkBuilder<DeviceStatusInfo.Builder,,DeviceStatusInfo> SdkPojo
- Enclosing class:
DeviceStatusInfo
public static interface DeviceStatusInfo.Builder
extends SdkPojo, CopyableBuilder<DeviceStatusInfo.Builder,DeviceStatusInfo>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionStatus(String connectionStatus) The latest available information about the connection status of a device.connectionStatus(ConnectionStatus connectionStatus) The latest available information about the connection status of a device.connectionStatusUpdatedTime(Instant connectionStatusUpdatedTime) The time (in epoch) when the device connection status changed.deviceStatusDetails(Collection<DeviceStatusDetail> deviceStatusDetails) One or more device status detail descriptions.deviceStatusDetails(Consumer<DeviceStatusDetail.Builder>... deviceStatusDetails) One or more device status detail descriptions.deviceStatusDetails(DeviceStatusDetail... deviceStatusDetails) One or more device status detail descriptions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
deviceStatusDetails
One or more device status detail descriptions.
- Parameters:
deviceStatusDetails- One or more device status detail descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceStatusDetails
One or more device status detail descriptions.
- Parameters:
deviceStatusDetails- One or more device status detail descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceStatusDetails
DeviceStatusInfo.Builder deviceStatusDetails(Consumer<DeviceStatusDetail.Builder>... deviceStatusDetails) One or more device status detail descriptions.
This is a convenience method that creates an instance of theDeviceStatusDetail.Builderavoiding the need to create one manually viaDeviceStatusDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeviceStatusDetails(List<DeviceStatusDetail>).- Parameters:
deviceStatusDetails- a consumer that will call methods onDeviceStatusDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionStatus
The latest available information about the connection status of a device.
- Parameters:
connectionStatus- The latest available information about the connection status of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionStatus
The latest available information about the connection status of a device.
- Parameters:
connectionStatus- The latest available information about the connection status of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionStatusUpdatedTime
The time (in epoch) when the device connection status changed.
- Parameters:
connectionStatusUpdatedTime- The time (in epoch) when the device connection status changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-