Interface TargetHealth.Builder

    • Method Detail

      • state

        TargetHealth.Builder state​(String state)

        The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:

        registering > unavailable > available > unavailable > available

        Parameters:
        state - The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:

        registering > unavailable > available > unavailable > available

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

        TargetHealth.Builder state​(TargetState state)

        The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:

        registering > unavailable > available > unavailable > available

        Parameters:
        state - The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:

        registering > unavailable > available > unavailable > available

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

        TargetHealth.Builder reason​(String reason)

        The reason for the current health State of the RDS Proxy target.

        Parameters:
        reason - The reason for the current health State of the RDS Proxy target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetHealthReason, TargetHealthReason
      • description

        TargetHealth.Builder description​(String description)

        A description of the health of the RDS Proxy target. If the State is AVAILABLE, a description is not included.

        Parameters:
        description - A description of the health of the RDS Proxy target. If the State is AVAILABLE, a description is not included.
        Returns:
        Returns a reference to this object so that method calls can be chained together.