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 ==.impl StructuralPartialEq for ModifyDbProxyTargetGroupInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyDbProxyTargetGroupInputBuilder
impl RefUnwindSafe for ModifyDbProxyTargetGroupInputBuilder
impl Send for ModifyDbProxyTargetGroupInputBuilder
impl Sync for ModifyDbProxyTargetGroupInputBuilder
impl Unpin for ModifyDbProxyTargetGroupInputBuilder
impl UnwindSafe for ModifyDbProxyTargetGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more