Interface ConnectionState.Builder

    • Method Detail

      • status

        ConnectionState.Builder status​(String status)

        The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.

        Parameters:
        status - The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionStatus, ConnectionStatus
      • status

        ConnectionState.Builder status​(ConnectionStatus status)

        The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.

        Parameters:
        status - The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionStatus, ConnectionStatus
      • lastUpdatedAt

        ConnectionState.Builder lastUpdatedAt​(Instant lastUpdatedAt)

        The last time the connection status was updated.

        Parameters:
        lastUpdatedAt - The last time the connection status was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.