@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 Amazon Web Services IoT Core service; false if it is not connected.
|
String |
disconnectReason()
The reason why the client is disconnected.
|
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 Amazon Web Services IoT Core 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 approximately an hour, the time value might be missing.
public final 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.
disconnectReason 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 © 2022. All rights reserved.