Interface DBProxyTarget.Builder

    • Method Detail

      • targetArn

        DBProxyTarget.Builder targetArn​(String targetArn)

        The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.

        Parameters:
        targetArn - The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpoint

        DBProxyTarget.Builder endpoint​(String endpoint)

        The writer endpoint for the RDS DB instance or Aurora DB cluster.

        Parameters:
        endpoint - The writer endpoint for the RDS DB instance or Aurora DB cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trackedClusterId

        DBProxyTarget.Builder trackedClusterId​(String trackedClusterId)

        The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.

        Parameters:
        trackedClusterId - The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rdsResourceId

        DBProxyTarget.Builder rdsResourceId​(String rdsResourceId)

        The identifier representing the target. It can be the instance identifier for an RDS DB instance, or the cluster identifier for an Aurora DB cluster.

        Parameters:
        rdsResourceId - The identifier representing the target. It can be the instance identifier for an RDS DB instance, or the cluster identifier for an Aurora DB cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • port

        DBProxyTarget.Builder port​(Integer port)

        The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.

        Parameters:
        port - The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        DBProxyTarget.Builder type​(String type)

        Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.

        Parameters:
        type - Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetType, TargetType
      • type

        DBProxyTarget.Builder type​(TargetType type)

        Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.

        Parameters:
        type - Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetType, TargetType
      • role

        DBProxyTarget.Builder role​(String role)

        A value that indicates whether the target of the proxy can be used for read/write or read-only operations.

        Parameters:
        role - A value that indicates whether the target of the proxy can be used for read/write or read-only operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetRole, TargetRole
      • role

        DBProxyTarget.Builder role​(TargetRole role)

        A value that indicates whether the target of the proxy can be used for read/write or read-only operations.

        Parameters:
        role - A value that indicates whether the target of the proxy can be used for read/write or read-only operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetRole, TargetRole
      • targetHealth

        DBProxyTarget.Builder targetHealth​(TargetHealth targetHealth)

        Information about the connection health of the RDS Proxy target.

        Parameters:
        targetHealth - Information about the connection health of the RDS Proxy target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.