Interface GetThingConnectivityDataResponse.Builder

  • Method Details

    • thingName

      The name of your IoT thing.

      Parameters:
      thingName - The name of your IoT thing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connected

      A Boolean that indicates the connectivity status.

      Parameters:
      connected - A Boolean that indicates the connectivity status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      The timestamp of when the device connected or disconnected.

      Parameters:
      timestamp - The timestamp of when the device connected or disconnected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disconnectReason

      GetThingConnectivityDataResponse.Builder disconnectReason(String disconnectReason)

      The reason that the client is disconnected.

      Parameters:
      disconnectReason - The reason that the client is disconnected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • disconnectReason

      The reason that the client is disconnected.

      Parameters:
      disconnectReason - The reason that the client is disconnected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceIp

      The IP address of the client that initiated the connection.

      Parameters:
      sourceIp - The IP address of the client that initiated the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourcePort

      The client's source port.

      Parameters:
      sourcePort - The client's source port.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetIp

      The IP address of the Amazon Web Services IoT Core endpoint that the client connected to.

      Parameters:
      targetIp - The IP address of the Amazon Web Services IoT Core endpoint that the client connected to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetPort

      The port number of the Amazon Web Services IoT Core endpoint that the client connected to.

      Parameters:
      targetPort - The port number of the Amazon Web Services IoT Core endpoint that the client connected to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcEndpointId

      GetThingConnectivityDataResponse.Builder vpcEndpointId(String vpcEndpointId)

      The ID of the VPC endpoint. Present for clients connected to Amazon Web Services IoT Core via a VPC endpoint.

      Parameters:
      vpcEndpointId - The ID of the VPC endpoint. Present for clients connected to Amazon Web Services IoT Core via a VPC endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keepAliveDuration

      GetThingConnectivityDataResponse.Builder keepAliveDuration(Integer keepAliveDuration)

      The keep-alive interval in seconds that the client specified when establishing the connection.

      Parameters:
      keepAliveDuration - The keep-alive interval in seconds that the client specified when establishing the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cleanSession

      Indicates whether the client is using a clean session. Returns true for clean sessions.

      Parameters:
      cleanSession - Indicates whether the client is using a clean session. Returns true for clean sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionExpiry

      GetThingConnectivityDataResponse.Builder sessionExpiry(Long sessionExpiry)

      The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects.

      Parameters:
      sessionExpiry - The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientId

      The unique identifier of the MQTT client.

      Parameters:
      clientId - The unique identifier of the MQTT client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.