Interface ThingConnectivity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThingConnectivity.Builder,
,ThingConnectivity> SdkBuilder<ThingConnectivity.Builder,
,ThingConnectivity> SdkPojo
- Enclosing class:
ThingConnectivity
public static interface ThingConnectivity.Builder
extends SdkPojo, CopyableBuilder<ThingConnectivity.Builder,ThingConnectivity>
-
Method Summary
Modifier and TypeMethodDescriptionTrue if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.disconnectReason
(String disconnectReason) The reason why the client is disconnected.The epoch time (in milliseconds) when the thing last connected or disconnected.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 Details
-
connected
True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.
- Parameters:
connected
- True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.
- Parameters:
timestamp
- The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disconnectReason
The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, the
disconnectReason
value might be missing.- Parameters:
disconnectReason
- The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, thedisconnectReason
value might be missing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-