Struct aws_sdk_rds::types::builders::DbProxyTargetGroupBuilder
source · #[non_exhaustive]pub struct DbProxyTargetGroupBuilder { /* private fields */ }Expand description
A builder for DbProxyTargetGroup.
Implementations§
source§impl DbProxyTargetGroupBuilder
impl DbProxyTargetGroupBuilder
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 get_db_proxy_name(&self) -> &Option<String>
pub fn get_db_proxy_name(&self) -> &Option<String>
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 get_target_group_name(&self) -> &Option<String>
pub fn get_target_group_name(&self) -> &Option<String>
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 get_target_group_arn(&self) -> &Option<String>
pub fn get_target_group_arn(&self) -> &Option<String>
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
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.
sourcepub fn set_is_default(self, input: Option<bool>) -> Self
pub fn set_is_default(self, input: Option<bool>) -> Self
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.
sourcepub fn get_is_default(&self) -> &Option<bool>
pub fn get_is_default(&self) -> &Option<bool>
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.
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 get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
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 get_connection_pool_config(
&self
) -> &Option<ConnectionPoolConfigurationInfo>
pub fn get_connection_pool_config( &self ) -> &Option<ConnectionPoolConfigurationInfo>
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 get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
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 get_updated_date(&self) -> &Option<DateTime>
pub fn get_updated_date(&self) -> &Option<DateTime>
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.
Trait Implementations§
source§impl Clone for DbProxyTargetGroupBuilder
impl Clone for DbProxyTargetGroupBuilder
source§fn clone(&self) -> DbProxyTargetGroupBuilder
fn clone(&self) -> DbProxyTargetGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbProxyTargetGroupBuilder
impl Debug for DbProxyTargetGroupBuilder
source§impl Default for DbProxyTargetGroupBuilder
impl Default for DbProxyTargetGroupBuilder
source§fn default() -> DbProxyTargetGroupBuilder
fn default() -> DbProxyTargetGroupBuilder
source§impl PartialEq for DbProxyTargetGroupBuilder
impl PartialEq for DbProxyTargetGroupBuilder
source§fn eq(&self, other: &DbProxyTargetGroupBuilder) -> bool
fn eq(&self, other: &DbProxyTargetGroupBuilder) -> bool
self and other values to be equal, and is used
by ==.