Struct aws_sdk_elasticache::operation::modify_cache_subnet_group::builders::ModifyCacheSubnetGroupInputBuilder    
source · #[non_exhaustive]pub struct ModifyCacheSubnetGroupInputBuilder { /* private fields */ }Expand description
A builder for ModifyCacheSubnetGroupInput.
Implementations§
source§impl ModifyCacheSubnetGroupInputBuilder
 
impl ModifyCacheSubnetGroupInputBuilder
sourcepub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
 
pub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
 
pub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn get_cache_subnet_group_name(&self) -> &Option<String>
 
pub fn get_cache_subnet_group_name(&self) -> &Option<String>
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
 
pub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
A description of the cache subnet group.
sourcepub fn set_cache_subnet_group_description(self, input: Option<String>) -> Self
 
pub fn set_cache_subnet_group_description(self, input: Option<String>) -> Self
A description of the cache subnet group.
sourcepub fn get_cache_subnet_group_description(&self) -> &Option<String>
 
pub fn get_cache_subnet_group_description(&self) -> &Option<String>
A description of the cache subnet group.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
 
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids.
To override the contents of this collection use set_subnet_ids.
The EC2 subnet IDs for the cache subnet group.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
 
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The EC2 subnet IDs for the cache subnet group.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
 
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
The EC2 subnet IDs for the cache subnet group.
sourcepub fn build(self) -> Result<ModifyCacheSubnetGroupInput, BuildError>
 
pub fn build(self) -> Result<ModifyCacheSubnetGroupInput, BuildError>
Consumes the builder and constructs a ModifyCacheSubnetGroupInput.
source§impl ModifyCacheSubnetGroupInputBuilder
 
impl ModifyCacheSubnetGroupInputBuilder
sourcepub async fn send_with(
    self,
    client: &Client,
) -> Result<ModifyCacheSubnetGroupOutput, SdkError<ModifyCacheSubnetGroupError, HttpResponse>>
 
pub async fn send_with( self, client: &Client, ) -> Result<ModifyCacheSubnetGroupOutput, SdkError<ModifyCacheSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyCacheSubnetGroupInputBuilder
 
impl Clone for ModifyCacheSubnetGroupInputBuilder
source§fn clone(&self) -> ModifyCacheSubnetGroupInputBuilder
 
fn clone(&self) -> ModifyCacheSubnetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyCacheSubnetGroupInputBuilder
 
impl Default for ModifyCacheSubnetGroupInputBuilder
source§fn default() -> ModifyCacheSubnetGroupInputBuilder
 
fn default() -> ModifyCacheSubnetGroupInputBuilder
source§impl PartialEq for ModifyCacheSubnetGroupInputBuilder
 
impl PartialEq for ModifyCacheSubnetGroupInputBuilder
source§fn eq(&self, other: &ModifyCacheSubnetGroupInputBuilder) -> bool
 
fn eq(&self, other: &ModifyCacheSubnetGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyCacheSubnetGroupInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyCacheSubnetGroupInputBuilder
impl RefUnwindSafe for ModifyCacheSubnetGroupInputBuilder
impl Send for ModifyCacheSubnetGroupInputBuilder
impl Sync for ModifyCacheSubnetGroupInputBuilder
impl Unpin for ModifyCacheSubnetGroupInputBuilder
impl UnwindSafe for ModifyCacheSubnetGroupInputBuilder
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