Interface DBProxyTargetGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBProxyTargetGroup.Builder,
,DBProxyTargetGroup> SdkBuilder<DBProxyTargetGroup.Builder,
,DBProxyTargetGroup> SdkPojo
- Enclosing class:
DBProxyTargetGroup
-
Method Summary
Modifier and TypeMethodDescriptiondefault DBProxyTargetGroup.Builder
connectionPoolConfig
(Consumer<ConnectionPoolConfigurationInfo.Builder> connectionPoolConfig) The settings that determine the size and behavior of the connection pool for the target group.connectionPoolConfig
(ConnectionPoolConfigurationInfo connectionPoolConfig) The settings that determine the size and behavior of the connection pool for the target group.createdDate
(Instant createdDate) The date and time when the target group was first created.dbProxyName
(String dbProxyName) The identifier for the RDS proxy associated with this target group.Indicates whether this target group is the first one used for connection requests by the associated proxy.The current status of this target group.targetGroupArn
(String targetGroupArn) The Amazon Resource Name (ARN) representing the target group.targetGroupName
(String targetGroupName) The identifier for the target group.updatedDate
(Instant updatedDate) The date and time when the target group was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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 alwaystrue
.- 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 ofavailable
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 theConnectionPoolConfigurationInfo.Builder
avoiding the need to create one manually viaConnectionPoolConfigurationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionPoolConfig(ConnectionPoolConfigurationInfo)
.- Parameters:
connectionPoolConfig
- a consumer that will call methods onConnectionPoolConfigurationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-