@Generated(value="software.amazon.awssdk:codegen") public final class ThingConnectivity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThingConnectivity.Builder,ThingConnectivity>
The connectivity status of the thing.
Modifier and Type | Class and Description |
---|---|
static interface |
ThingConnectivity.Builder |
Modifier and Type | Method and Description |
---|---|
static ThingConnectivity.Builder |
builder() |
Boolean |
connected()
True if the thing is connected to the AWS IoT service, false if it is not connected.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ThingConnectivity.Builder> |
serializableBuilderClass() |
Long |
timestamp()
The epoch time (in milliseconds) when the thing last connected or disconnected.
|
ThingConnectivity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Boolean connected()
True if the thing is connected to the AWS IoT service, false if it is not connected.
public 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.
public ThingConnectivity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ThingConnectivity.Builder,ThingConnectivity>
public static ThingConnectivity.Builder builder()
public static Class<? extends ThingConnectivity.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.