Interface ConnectionCredentials.Builder

    • Method Detail

      • connectionToken

        ConnectionCredentials.Builder connectionToken​(String connectionToken)

        The connection token.

        Parameters:
        connectionToken - The connection token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expiry

        ConnectionCredentials.Builder expiry​(String expiry)

        The expiration of the token.

        It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

        Parameters:
        expiry - The expiration of the token.

        It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

        Returns:
        Returns a reference to this object so that method calls can be chained together.