Interface DBProxyTargetGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DBProxyTargetGroup.Builder,DBProxyTargetGroup>,SdkBuilder<DBProxyTargetGroup.Builder,DBProxyTargetGroup>,SdkPojo
- Enclosing class:
- DBProxyTargetGroup
public static interface DBProxyTargetGroup.Builder extends SdkPojo, CopyableBuilder<DBProxyTargetGroup.Builder,DBProxyTargetGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DBProxyTargetGroup.BuilderconnectionPoolConfig(Consumer<ConnectionPoolConfigurationInfo.Builder> connectionPoolConfig)The settings that determine the size and behavior of the connection pool for the target group.DBProxyTargetGroup.BuilderconnectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)The settings that determine the size and behavior of the connection pool for the target group.DBProxyTargetGroup.BuildercreatedDate(Instant createdDate)The date and time when the target group was first created.DBProxyTargetGroup.BuilderdbProxyName(String dbProxyName)The identifier for the RDS proxy associated with this target group.DBProxyTargetGroup.BuilderisDefault(Boolean isDefault)Indicates whether this target group is the first one used for connection requests by the associated proxy.DBProxyTargetGroup.Builderstatus(String status)The current status of this target group.DBProxyTargetGroup.BuildertargetGroupArn(String targetGroupArn)The Amazon Resource Name (ARN) representing the target group.DBProxyTargetGroup.BuildertargetGroupName(String targetGroupName)The identifier for the target group.DBProxyTargetGroup.BuilderupdatedDate(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 Detail
-
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 alwaystrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DBProxyTargetGroup.Builder status(String status)
The current status of this target group. A status of
availablemeans 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 ofavailablemeans 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.Builderavoiding the need to create one manually viaConnectionPoolConfigurationInfo.builder().When the
Consumercompletes,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:
connectionPoolConfig(ConnectionPoolConfigurationInfo)
-
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.
-
-