Struct aws_sdk_elasticache::types::CacheSubnetGroup
source · #[non_exhaustive]pub struct CacheSubnetGroup {
pub cache_subnet_group_name: Option<String>,
pub cache_subnet_group_description: Option<String>,
pub vpc_id: Option<String>,
pub subnets: Option<Vec<Subnet>>,
pub arn: Option<String>,
pub supported_network_types: Option<Vec<NetworkType>>,
}
Expand description
Represents the output of one of the following operations:
-
CreateCacheSubnetGroup
-
ModifyCacheSubnetGroup
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 of the cache subnet group.
cache_subnet_group_description: Option<String>
The description of the cache subnet group.
vpc_id: Option<String>
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
subnets: Option<Vec<Subnet>>
A list of subnets associated with the cache subnet group.
arn: Option<String>
The ARN (Amazon Resource Name) of the cache subnet group.
supported_network_types: Option<Vec<NetworkType>>
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
Implementations§
source§impl CacheSubnetGroup
impl CacheSubnetGroup
sourcepub fn cache_subnet_group_name(&self) -> Option<&str>
pub fn cache_subnet_group_name(&self) -> Option<&str>
The name of the cache subnet group.
sourcepub fn cache_subnet_group_description(&self) -> Option<&str>
pub fn cache_subnet_group_description(&self) -> Option<&str>
The description of the cache subnet group.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
sourcepub fn subnets(&self) -> &[Subnet]
pub fn subnets(&self) -> &[Subnet]
A list of subnets associated with 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 .subnets.is_none()
.
sourcepub fn supported_network_types(&self) -> &[NetworkType]
pub fn supported_network_types(&self) -> &[NetworkType]
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_network_types.is_none()
.
source§impl CacheSubnetGroup
impl CacheSubnetGroup
sourcepub fn builder() -> CacheSubnetGroupBuilder
pub fn builder() -> CacheSubnetGroupBuilder
Creates a new builder-style object to manufacture CacheSubnetGroup
.
Trait Implementations§
source§impl Clone for CacheSubnetGroup
impl Clone for CacheSubnetGroup
source§fn clone(&self) -> CacheSubnetGroup
fn clone(&self) -> CacheSubnetGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CacheSubnetGroup
impl Debug for CacheSubnetGroup
source§impl PartialEq for CacheSubnetGroup
impl PartialEq for CacheSubnetGroup
source§fn eq(&self, other: &CacheSubnetGroup) -> bool
fn eq(&self, other: &CacheSubnetGroup) -> bool
self
and other
values to be equal, and is used
by ==
.