Interface Connection.Builder

    • Method Detail

      • connectionArn

        Connection.Builder connectionArn​(String connectionArn)

        The ARN of the connection.

        Parameters:
        connectionArn - The ARN of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Connection.Builder name​(String name)

        The name of the connection.

        Parameters:
        name - The name of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionState

        Connection.Builder connectionState​(String connectionState)

        The state of the connection.

        Parameters:
        connectionState - The state of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionState, ConnectionState
      • stateReason

        Connection.Builder stateReason​(String stateReason)

        The reason that the connection is in the connection state.

        Parameters:
        stateReason - The reason that the connection is in the connection state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorizationType

        Connection.Builder authorizationType​(String authorizationType)

        The authorization type specified for the connection.

        OAUTH tokens are refreshed when a 401 or 407 response is returned.

        Parameters:
        authorizationType - The authorization type specified for the connection.

        OAUTH tokens are refreshed when a 401 or 407 response is returned.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionAuthorizationType, ConnectionAuthorizationType
      • authorizationType

        Connection.Builder authorizationType​(ConnectionAuthorizationType authorizationType)

        The authorization type specified for the connection.

        OAUTH tokens are refreshed when a 401 or 407 response is returned.

        Parameters:
        authorizationType - The authorization type specified for the connection.

        OAUTH tokens are refreshed when a 401 or 407 response is returned.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionAuthorizationType, ConnectionAuthorizationType
      • creationTime

        Connection.Builder creationTime​(Instant creationTime)

        A time stamp for the time that the connection was created.

        Parameters:
        creationTime - A time stamp for the time that the connection was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        Connection.Builder lastModifiedTime​(Instant lastModifiedTime)

        A time stamp for the time that the connection was last modified.

        Parameters:
        lastModifiedTime - A time stamp for the time that the connection was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastAuthorizedTime

        Connection.Builder lastAuthorizedTime​(Instant lastAuthorizedTime)

        A time stamp for the time that the connection was last authorized.

        Parameters:
        lastAuthorizedTime - A time stamp for the time that the connection was last authorized.
        Returns:
        Returns a reference to this object so that method calls can be chained together.