public static interface DBProxyTargetGroup.Builder extends SdkPojo, CopyableBuilder<DBProxyTargetGroup.Builder,DBProxyTargetGroup>
Modifier and Type | Method and Description |
---|---|
DBProxyTargetGroup.Builder |
connectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)
The settings that determine the size and behavior of the connection pool for the target group.
|
default DBProxyTargetGroup.Builder |
connectionPoolConfig(Consumer<ConnectionPoolConfigurationInfo.Builder> connectionPoolConfig)
The settings that determine the size and behavior of the connection pool for the target group.
|
DBProxyTargetGroup.Builder |
createdDate(Instant createdDate)
The date and time when the target group was first created.
|
DBProxyTargetGroup.Builder |
dbProxyName(String dbProxyName)
The identifier for the RDS proxy associated with this target group.
|
DBProxyTargetGroup.Builder |
isDefault(Boolean isDefault)
Whether this target group is the first one used for connection requests by the associated proxy.
|
DBProxyTargetGroup.Builder |
status(String status)
The current status of this target group.
|
DBProxyTargetGroup.Builder |
targetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) representing the target group.
|
DBProxyTargetGroup.Builder |
targetGroupName(String targetGroupName)
The identifier for the target group.
|
DBProxyTargetGroup.Builder |
updatedDate(Instant updatedDate)
The date and time when the target group was last updated.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DBProxyTargetGroup.Builder dbProxyName(String dbProxyName)
The identifier for the RDS proxy associated with this target group.
dbProxyName
- The identifier for the RDS proxy associated with this target group.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.
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.DBProxyTargetGroup.Builder targetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) representing the target group.
targetGroupArn
- The Amazon Resource Name (ARN) representing the target group.DBProxyTargetGroup.Builder isDefault(Boolean isDefault)
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
.
isDefault
- 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
.DBProxyTargetGroup.Builder status(String 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.
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.DBProxyTargetGroup.Builder connectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)
The settings that determine the size and behavior of the connection pool for the target group.
connectionPoolConfig
- The settings that determine the size and behavior of the connection pool for the target group.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 that creates an instance of theConnectionPoolConfigurationInfo.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)
.connectionPoolConfig
- a consumer that will call methods on ConnectionPoolConfigurationInfo.Builder
connectionPoolConfig(ConnectionPoolConfigurationInfo)
DBProxyTargetGroup.Builder createdDate(Instant createdDate)
The date and time when the target group was first created.
createdDate
- The date and time when the target group was first created.DBProxyTargetGroup.Builder updatedDate(Instant updatedDate)
The date and time when the target group was last updated.
updatedDate
- The date and time when the target group was last updated.Copyright © 2021. All rights reserved.