Struct aws_sdk_elasticache::operation::modify_cache_subnet_group::ModifyCacheSubnetGroupInput
source · #[non_exhaustive]pub struct ModifyCacheSubnetGroupInput {
pub cache_subnet_group_name: Option<String>,
pub cache_subnet_group_description: Option<String>,
pub subnet_ids: Option<Vec<String>>,
}Expand description
Represents the input of a ModifyCacheSubnetGroup operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cache_subnet_group_name: 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
cache_subnet_group_description: Option<String>A description of the cache subnet group.
subnet_ids: Option<Vec<String>>The EC2 subnet IDs for the cache subnet group.
Implementations§
source§impl ModifyCacheSubnetGroupInput
impl ModifyCacheSubnetGroupInput
sourcepub fn cache_subnet_group_name(&self) -> Option<&str>
pub fn cache_subnet_group_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn cache_subnet_group_description(&self) -> Option<&str>
A description of the cache subnet group.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The EC2 subnet IDs for the cache subnet group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none().
source§impl ModifyCacheSubnetGroupInput
impl ModifyCacheSubnetGroupInput
sourcepub fn builder() -> ModifyCacheSubnetGroupInputBuilder
pub fn builder() -> ModifyCacheSubnetGroupInputBuilder
Creates a new builder-style object to manufacture ModifyCacheSubnetGroupInput.
Trait Implementations§
source§impl Clone for ModifyCacheSubnetGroupInput
impl Clone for ModifyCacheSubnetGroupInput
source§fn clone(&self) -> ModifyCacheSubnetGroupInput
fn clone(&self) -> ModifyCacheSubnetGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModifyCacheSubnetGroupInput
impl Debug for ModifyCacheSubnetGroupInput
source§impl PartialEq for ModifyCacheSubnetGroupInput
impl PartialEq for ModifyCacheSubnetGroupInput
source§fn eq(&self, other: &ModifyCacheSubnetGroupInput) -> bool
fn eq(&self, other: &ModifyCacheSubnetGroupInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyCacheSubnetGroupInput
Auto Trait Implementations§
impl Freeze for ModifyCacheSubnetGroupInput
impl RefUnwindSafe for ModifyCacheSubnetGroupInput
impl Send for ModifyCacheSubnetGroupInput
impl Sync for ModifyCacheSubnetGroupInput
impl Unpin for ModifyCacheSubnetGroupInput
impl UnwindSafe for ModifyCacheSubnetGroupInput
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