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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThingConnectivity.Builder
connected(Boolean connected)
True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.ThingConnectivity.Builder
disconnectReason(String disconnectReason)
The reason why the client is disconnected.ThingConnectivity.Builder
timestamp(Long timestamp)
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 Detail
-
connected
ThingConnectivity.Builder connected(Boolean 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
ThingConnectivity.Builder timestamp(Long 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
ThingConnectivity.Builder disconnectReason(String 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.
-
-