Struct aws_sdk_rds::operation::modify_db_proxy_target_group::builders::ModifyDbProxyTargetGroupInputBuilder
source · #[non_exhaustive]pub struct ModifyDbProxyTargetGroupInputBuilder { /* private fields */ }Expand description
A builder for ModifyDbProxyTargetGroupInput.
Implementations§
source§impl ModifyDbProxyTargetGroupInputBuilder
impl ModifyDbProxyTargetGroupInputBuilder
sourcepub fn target_group_name(self, input: impl Into<String>) -> Self
pub fn target_group_name(self, input: impl Into<String>) -> Self
The name of the target group to modify.
This field is required.sourcepub fn set_target_group_name(self, input: Option<String>) -> Self
pub fn set_target_group_name(self, input: Option<String>) -> Self
The name of the target group to modify.
sourcepub fn get_target_group_name(&self) -> &Option<String>
pub fn get_target_group_name(&self) -> &Option<String>
The name of the target group to modify.
sourcepub fn db_proxy_name(self, input: impl Into<String>) -> Self
pub fn db_proxy_name(self, input: impl Into<String>) -> Self
The name of the proxy.
This field is required.sourcepub fn set_db_proxy_name(self, input: Option<String>) -> Self
pub fn set_db_proxy_name(self, input: Option<String>) -> Self
The name of the proxy.
sourcepub fn get_db_proxy_name(&self) -> &Option<String>
pub fn get_db_proxy_name(&self) -> &Option<String>
The name of the proxy.
sourcepub fn connection_pool_config(self, input: ConnectionPoolConfiguration) -> Self
pub fn connection_pool_config(self, input: ConnectionPoolConfiguration) -> 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<ConnectionPoolConfiguration>
) -> Self
pub fn set_connection_pool_config( self, input: Option<ConnectionPoolConfiguration> ) -> 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<ConnectionPoolConfiguration>
pub fn get_connection_pool_config(&self) -> &Option<ConnectionPoolConfiguration>
The settings that determine the size and behavior of the connection pool for the target group.
sourcepub fn new_name(self, input: impl Into<String>) -> Self
pub fn new_name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_new_name(self, input: Option<String>) -> Self
pub fn set_new_name(self, input: Option<String>) -> Self
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.
sourcepub fn get_new_name(&self) -> &Option<String>
pub fn get_new_name(&self) -> &Option<String>
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.
sourcepub fn build(self) -> Result<ModifyDbProxyTargetGroupInput, BuildError>
pub fn build(self) -> Result<ModifyDbProxyTargetGroupInput, BuildError>
Consumes the builder and constructs a ModifyDbProxyTargetGroupInput.
source§impl ModifyDbProxyTargetGroupInputBuilder
impl ModifyDbProxyTargetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyDbProxyTargetGroupOutput, SdkError<ModifyDBProxyTargetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyDbProxyTargetGroupOutput, SdkError<ModifyDBProxyTargetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyDbProxyTargetGroupInputBuilder
impl Clone for ModifyDbProxyTargetGroupInputBuilder
source§fn clone(&self) -> ModifyDbProxyTargetGroupInputBuilder
fn clone(&self) -> ModifyDbProxyTargetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyDbProxyTargetGroupInputBuilder
impl Default for ModifyDbProxyTargetGroupInputBuilder
source§fn default() -> ModifyDbProxyTargetGroupInputBuilder
fn default() -> ModifyDbProxyTargetGroupInputBuilder
source§impl PartialEq for ModifyDbProxyTargetGroupInputBuilder
impl PartialEq for ModifyDbProxyTargetGroupInputBuilder
source§fn eq(&self, other: &ModifyDbProxyTargetGroupInputBuilder) -> bool
fn eq(&self, other: &ModifyDbProxyTargetGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.