#[non_exhaustive]pub struct CacheSubnetGroupBuilder { /* private fields */ }
Expand description
A builder for CacheSubnetGroup
.
Implementations§
source§impl CacheSubnetGroupBuilder
impl CacheSubnetGroupBuilder
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 of the cache subnet group.
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 of the cache subnet group.
sourcepub fn get_cache_subnet_group_name(&self) -> &Option<String>
pub fn get_cache_subnet_group_name(&self) -> &Option<String>
The name of the cache subnet group.
sourcepub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
pub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
The 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
The 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>
The description of the cache subnet group.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
sourcepub fn subnets(self, input: Subnet) -> Self
pub fn subnets(self, input: Subnet) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
A list of subnets associated with the cache subnet group.
sourcepub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
pub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
A list of subnets associated with the cache subnet group.
sourcepub fn get_subnets(&self) -> &Option<Vec<Subnet>>
pub fn get_subnets(&self) -> &Option<Vec<Subnet>>
A list of subnets associated with the cache subnet group.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) of the cache subnet group.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) of the cache subnet group.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The ARN (Amazon Resource Name) of the cache subnet group.
sourcepub fn supported_network_types(self, input: NetworkType) -> Self
pub fn supported_network_types(self, input: NetworkType) -> Self
Appends an item to supported_network_types
.
To override the contents of this collection use set_supported_network_types
.
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.
sourcepub fn set_supported_network_types(
self,
input: Option<Vec<NetworkType>>
) -> Self
pub fn set_supported_network_types( self, input: Option<Vec<NetworkType>> ) -> Self
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.
sourcepub fn get_supported_network_types(&self) -> &Option<Vec<NetworkType>>
pub fn get_supported_network_types(&self) -> &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.
sourcepub fn build(self) -> CacheSubnetGroup
pub fn build(self) -> CacheSubnetGroup
Consumes the builder and constructs a CacheSubnetGroup
.
Trait Implementations§
source§impl Clone for CacheSubnetGroupBuilder
impl Clone for CacheSubnetGroupBuilder
source§fn clone(&self) -> CacheSubnetGroupBuilder
fn clone(&self) -> CacheSubnetGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CacheSubnetGroupBuilder
impl Debug for CacheSubnetGroupBuilder
source§impl Default for CacheSubnetGroupBuilder
impl Default for CacheSubnetGroupBuilder
source§fn default() -> CacheSubnetGroupBuilder
fn default() -> CacheSubnetGroupBuilder
source§impl PartialEq for CacheSubnetGroupBuilder
impl PartialEq for CacheSubnetGroupBuilder
source§fn eq(&self, other: &CacheSubnetGroupBuilder) -> bool
fn eq(&self, other: &CacheSubnetGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.