Interface ModifyDbProxyTargetGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyDbProxyTargetGroupRequest.Builder,
,ModifyDbProxyTargetGroupRequest> RdsRequest.Builder
,SdkBuilder<ModifyDbProxyTargetGroupRequest.Builder,
,ModifyDbProxyTargetGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyDbProxyTargetGroupRequest
public static interface ModifyDbProxyTargetGroupRequest.Builder
extends RdsRequest.Builder, SdkPojo, CopyableBuilder<ModifyDbProxyTargetGroupRequest.Builder,ModifyDbProxyTargetGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionPoolConfig
(Consumer<ConnectionPoolConfiguration.Builder> connectionPoolConfig) The settings that determine the size and behavior of the connection pool for the target group.connectionPoolConfig
(ConnectionPoolConfiguration connectionPoolConfig) The settings that determine the size and behavior of the connection pool for the target group.dbProxyName
(String dbProxyName) The name of the proxy.The new name for the modifiedDBProxyTarget
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetGroupName
(String targetGroupName) The name of the target group to modify.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
targetGroupName
The name of the target group to modify.
- Parameters:
targetGroupName
- The name of the target group to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbProxyName
The name of the proxy.
- Parameters:
dbProxyName
- The name of the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionPoolConfig
ModifyDbProxyTargetGroupRequest.Builder connectionPoolConfig(ConnectionPoolConfiguration 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 ModifyDbProxyTargetGroupRequest.Builder connectionPoolConfig(Consumer<ConnectionPoolConfiguration.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 theConnectionPoolConfiguration.Builder
avoiding the need to create one manually viaConnectionPoolConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionPoolConfig(ConnectionPoolConfiguration)
.- Parameters:
connectionPoolConfig
- a consumer that will call methods onConnectionPoolConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
newName
The new name for the modified
DBProxyTarget
. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.- Parameters:
newName
- The new name for the modifiedDBProxyTarget
. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDbProxyTargetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDbProxyTargetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-