Struct aws_sdk_rds::model::db_proxy_target_group::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DbProxyTargetGroup.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn db_proxy_name(self, input: impl Into<String>) -> Self
pub fn db_proxy_name(self, input: impl Into<String>) -> Self
The identifier for the RDS proxy associated with this target group.
sourcepub fn set_db_proxy_name(self, input: Option<String>) -> Self
pub fn set_db_proxy_name(self, input: Option<String>) -> Self
The identifier for the RDS proxy associated with this target group.
sourcepub fn target_group_name(self, input: impl Into<String>) -> Self
pub fn target_group_name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_target_group_name(self, input: Option<String>) -> Self
pub fn set_target_group_name(self, input: Option<String>) -> Self
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.
sourcepub fn target_group_arn(self, input: impl Into<String>) -> Self
pub fn target_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) representing the target group.
sourcepub fn set_target_group_arn(self, input: Option<String>) -> Self
pub fn set_target_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) representing the target group.
sourcepub fn is_default(self, input: bool) -> Self
pub fn is_default(self, input: bool) -> Self
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.
sourcepub fn set_is_default(self, input: Option<bool>) -> Self
pub fn set_is_default(self, input: Option<bool>) -> Self
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.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
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.
sourcepub fn connection_pool_config(
self,
input: ConnectionPoolConfigurationInfo
) -> Self
pub fn connection_pool_config(
self,
input: ConnectionPoolConfigurationInfo
) -> Self
The settings that determine the size and behavior of the connection pool for the target group.
sourcepub fn set_connection_pool_config(
self,
input: Option<ConnectionPoolConfigurationInfo>
) -> Self
pub fn set_connection_pool_config(
self,
input: Option<ConnectionPoolConfigurationInfo>
) -> Self
The settings that determine the size and behavior of the connection pool for the target group.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time when the target group was first created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date and time when the target group was first created.
sourcepub fn updated_date(self, input: DateTime) -> Self
pub fn updated_date(self, input: DateTime) -> Self
The date and time when the target group was last updated.
sourcepub fn set_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_updated_date(self, input: Option<DateTime>) -> Self
The date and time when the target group was last updated.
sourcepub fn build(self) -> DbProxyTargetGroup
pub fn build(self) -> DbProxyTargetGroup
Consumes the builder and constructs a DbProxyTargetGroup.