public static interface ThingConnectivity.Builder extends SdkPojo, CopyableBuilder<ThingConnectivity.Builder,ThingConnectivity>
Modifier and Type | Method and Description |
---|---|
ThingConnectivity.Builder |
connected(Boolean connected)
True if the thing is connected to the AWS IoT service, false if it is not connected.
|
ThingConnectivity.Builder |
timestamp(Long timestamp)
The epoch time (in milliseconds) when the thing last connected or disconnected.
|
copy
applyMutation, build
ThingConnectivity.Builder connected(Boolean connected)
True if the thing is connected to the AWS IoT service, false if it is not connected.
connected
- True if the thing is connected to the AWS IoT service, false if it is not connected.ThingConnectivity.Builder timestamp(Long timestamp)
The epoch time (in milliseconds) when the thing last connected or disconnected. Note that if the thing has been disconnected for more than a few weeks, the time value can be missing.
timestamp
- The epoch time (in milliseconds) when the thing last connected or disconnected. Note that if the thing
has been disconnected for more than a few weeks, the time value can be missing.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.