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 Details

    • 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, the disconnectReason value might be missing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.