@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean connected()
True if the thing is connected to the AWS IoT service; false if it is not connected.
public final Long timestamp()
The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for more than a few weeks, the time value might be missing.
public ThingConnectivity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ThingConnectivity.Builder,ThingConnectivity>public static ThingConnectivity.Builder builder()
public static Class<? extends ThingConnectivity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.