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 ==
.