Struct aws_sdk_rds::operation::modify_db_proxy_endpoint::builders::ModifyDbProxyEndpointInputBuilder
source · #[non_exhaustive]pub struct ModifyDbProxyEndpointInputBuilder { /* private fields */ }Expand description
A builder for ModifyDbProxyEndpointInput.
Implementations§
source§impl ModifyDbProxyEndpointInputBuilder
impl ModifyDbProxyEndpointInputBuilder
sourcepub fn db_proxy_endpoint_name(self, input: impl Into<String>) -> Self
pub fn db_proxy_endpoint_name(self, input: impl Into<String>) -> Self
The name of the DB proxy sociated with the DB proxy endpoint that you want to modify.
This field is required.sourcepub fn set_db_proxy_endpoint_name(self, input: Option<String>) -> Self
pub fn set_db_proxy_endpoint_name(self, input: Option<String>) -> Self
The name of the DB proxy sociated with the DB proxy endpoint that you want to modify.
sourcepub fn get_db_proxy_endpoint_name(&self) -> &Option<String>
pub fn get_db_proxy_endpoint_name(&self) -> &Option<String>
The name of the DB proxy sociated with the DB proxy endpoint that you want to modify.
sourcepub fn new_db_proxy_endpoint_name(self, input: impl Into<String>) -> Self
pub fn new_db_proxy_endpoint_name(self, input: impl Into<String>) -> Self
The new identifier for the DBProxyEndpoint. 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_db_proxy_endpoint_name(self, input: Option<String>) -> Self
pub fn set_new_db_proxy_endpoint_name(self, input: Option<String>) -> Self
The new identifier for the DBProxyEndpoint. 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_db_proxy_endpoint_name(&self) -> &Option<String>
pub fn get_new_db_proxy_endpoint_name(&self) -> &Option<String>
The new identifier for the DBProxyEndpoint. 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 vpc_security_group_ids(self, input: impl Into<String>) -> Self
pub fn vpc_security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to vpc_security_group_ids.
To override the contents of this collection use set_vpc_security_group_ids.
The VPC security group IDs for the DB proxy endpoint. When the DB proxy endpoint uses a different VPC than the original proxy, you also specify a different set of security group IDs than for the original proxy.
sourcepub fn set_vpc_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_security_group_ids(self, input: Option<Vec<String>>) -> Self
The VPC security group IDs for the DB proxy endpoint. When the DB proxy endpoint uses a different VPC than the original proxy, you also specify a different set of security group IDs than for the original proxy.
sourcepub fn get_vpc_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_security_group_ids(&self) -> &Option<Vec<String>>
The VPC security group IDs for the DB proxy endpoint. When the DB proxy endpoint uses a different VPC than the original proxy, you also specify a different set of security group IDs than for the original proxy.
sourcepub fn build(self) -> Result<ModifyDbProxyEndpointInput, BuildError>
pub fn build(self) -> Result<ModifyDbProxyEndpointInput, BuildError>
Consumes the builder and constructs a ModifyDbProxyEndpointInput.
source§impl ModifyDbProxyEndpointInputBuilder
impl ModifyDbProxyEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifyDbProxyEndpointOutput, SdkError<ModifyDBProxyEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifyDbProxyEndpointOutput, SdkError<ModifyDBProxyEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyDbProxyEndpointInputBuilder
impl Clone for ModifyDbProxyEndpointInputBuilder
source§fn clone(&self) -> ModifyDbProxyEndpointInputBuilder
fn clone(&self) -> ModifyDbProxyEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyDbProxyEndpointInputBuilder
impl Default for ModifyDbProxyEndpointInputBuilder
source§fn default() -> ModifyDbProxyEndpointInputBuilder
fn default() -> ModifyDbProxyEndpointInputBuilder
source§impl PartialEq for ModifyDbProxyEndpointInputBuilder
impl PartialEq for ModifyDbProxyEndpointInputBuilder
source§fn eq(&self, other: &ModifyDbProxyEndpointInputBuilder) -> bool
fn eq(&self, other: &ModifyDbProxyEndpointInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyDbProxyEndpointInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyDbProxyEndpointInputBuilder
impl RefUnwindSafe for ModifyDbProxyEndpointInputBuilder
impl Send for ModifyDbProxyEndpointInputBuilder
impl Sync for ModifyDbProxyEndpointInputBuilder
impl Unpin for ModifyDbProxyEndpointInputBuilder
impl UnwindSafe for ModifyDbProxyEndpointInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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