Interface DBProxyTargetGroup.Builder

  • Method Details

    • dbProxyName

      DBProxyTargetGroup.Builder dbProxyName(String dbProxyName)

      The identifier for the RDS proxy associated with this target group.

      Parameters:
      dbProxyName - The identifier for the RDS proxy associated with this target group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetGroupName

      DBProxyTargetGroup.Builder targetGroupName(String targetGroupName)

      The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region.

      Parameters:
      targetGroupName - The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetGroupArn

      DBProxyTargetGroup.Builder targetGroupArn(String targetGroupArn)

      The Amazon Resource Name (ARN) representing the target group.

      Parameters:
      targetGroupArn - The Amazon Resource Name (ARN) representing the target group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isDefault

      DBProxyTargetGroup.Builder isDefault(Boolean isDefault)

      Indicates whether this target group is the first one used for connection requests by the associated proxy. Because each proxy is currently associated with a single target group, currently this setting is always true.

      Parameters:
      isDefault - Indicates whether this target group is the first one used for connection requests by the associated proxy. Because each proxy is currently associated with a single target group, currently this setting is always true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue.

      Parameters:
      status - The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionPoolConfig

      DBProxyTargetGroup.Builder connectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)

      The settings that determine the size and behavior of the connection pool for the target group.

      Parameters:
      connectionPoolConfig - The settings that determine the size and behavior of the connection pool for the target group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionPoolConfig

      default DBProxyTargetGroup.Builder connectionPoolConfig(Consumer<ConnectionPoolConfigurationInfo.Builder> connectionPoolConfig)

      The settings that determine the size and behavior of the connection pool for the target group.

      This is a convenience method that creates an instance of the ConnectionPoolConfigurationInfo.Builder avoiding the need to create one manually via ConnectionPoolConfigurationInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connectionPoolConfig(ConnectionPoolConfigurationInfo).

      Parameters:
      connectionPoolConfig - a consumer that will call methods on ConnectionPoolConfigurationInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdDate

      DBProxyTargetGroup.Builder createdDate(Instant createdDate)

      The date and time when the target group was first created.

      Parameters:
      createdDate - The date and time when the target group was first created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedDate

      DBProxyTargetGroup.Builder updatedDate(Instant updatedDate)

      The date and time when the target group was last updated.

      Parameters:
      updatedDate - The date and time when the target group was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.