Struct aws_sdk_elasticache::types::builders::SubnetBuilder
source · #[non_exhaustive]pub struct SubnetBuilder { /* private fields */ }
Expand description
A builder for Subnet
.
Implementations§
source§impl SubnetBuilder
impl SubnetBuilder
sourcepub fn subnet_identifier(self, input: impl Into<String>) -> Self
pub fn subnet_identifier(self, input: impl Into<String>) -> Self
The unique identifier for the subnet.
sourcepub fn set_subnet_identifier(self, input: Option<String>) -> Self
pub fn set_subnet_identifier(self, input: Option<String>) -> Self
The unique identifier for the subnet.
sourcepub fn get_subnet_identifier(&self) -> &Option<String>
pub fn get_subnet_identifier(&self) -> &Option<String>
The unique identifier for the subnet.
sourcepub fn subnet_availability_zone(self, input: AvailabilityZone) -> Self
pub fn subnet_availability_zone(self, input: AvailabilityZone) -> Self
The Availability Zone associated with the subnet.
sourcepub fn set_subnet_availability_zone(
self,
input: Option<AvailabilityZone>
) -> Self
pub fn set_subnet_availability_zone( self, input: Option<AvailabilityZone> ) -> Self
The Availability Zone associated with the subnet.
sourcepub fn get_subnet_availability_zone(&self) -> &Option<AvailabilityZone>
pub fn get_subnet_availability_zone(&self) -> &Option<AvailabilityZone>
The Availability Zone associated with the subnet.
sourcepub fn subnet_outpost(self, input: SubnetOutpost) -> Self
pub fn subnet_outpost(self, input: SubnetOutpost) -> Self
The outpost ARN of the subnet.
sourcepub fn set_subnet_outpost(self, input: Option<SubnetOutpost>) -> Self
pub fn set_subnet_outpost(self, input: Option<SubnetOutpost>) -> Self
The outpost ARN of the subnet.
sourcepub fn get_subnet_outpost(&self) -> &Option<SubnetOutpost>
pub fn get_subnet_outpost(&self) -> &Option<SubnetOutpost>
The outpost ARN of the subnet.
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.
Trait Implementations§
source§impl Clone for SubnetBuilder
impl Clone for SubnetBuilder
source§fn clone(&self) -> SubnetBuilder
fn clone(&self) -> SubnetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubnetBuilder
impl Debug for SubnetBuilder
source§impl Default for SubnetBuilder
impl Default for SubnetBuilder
source§fn default() -> SubnetBuilder
fn default() -> SubnetBuilder
source§impl PartialEq for SubnetBuilder
impl PartialEq for SubnetBuilder
source§fn eq(&self, other: &SubnetBuilder) -> bool
fn eq(&self, other: &SubnetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.