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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The EC2 subnet IDs for the cache subnet group.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModifyCacheSubnetGroupInput
impl Debug for ModifyCacheSubnetGroupInput
source§impl PartialEq<ModifyCacheSubnetGroupInput> for ModifyCacheSubnetGroupInput
impl PartialEq<ModifyCacheSubnetGroupInput> for ModifyCacheSubnetGroupInput
source§fn eq(&self, other: &ModifyCacheSubnetGroupInput) -> bool
fn eq(&self, other: &ModifyCacheSubnetGroupInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyCacheSubnetGroupInput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more