#[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 ==
.impl StructuralPartialEq for CacheSubnetGroupBuilder
Auto Trait Implementations§
impl Freeze for CacheSubnetGroupBuilder
impl RefUnwindSafe for CacheSubnetGroupBuilder
impl Send for CacheSubnetGroupBuilder
impl Sync for CacheSubnetGroupBuilder
impl Unpin for CacheSubnetGroupBuilder
impl UnwindSafe for CacheSubnetGroupBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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