#[non_exhaustive]pub struct ReplicationSubnetGroupBuilder { /* private fields */ }
Expand description
A builder for ReplicationSubnetGroup
.
Implementations§
source§impl ReplicationSubnetGroupBuilder
impl ReplicationSubnetGroupBuilder
sourcepub fn replication_subnet_group_identifier(
self,
input: impl Into<String>
) -> Self
pub fn replication_subnet_group_identifier( self, input: impl Into<String> ) -> Self
The identifier of the replication instance subnet group.
sourcepub fn set_replication_subnet_group_identifier(
self,
input: Option<String>
) -> Self
pub fn set_replication_subnet_group_identifier( self, input: Option<String> ) -> Self
The identifier of the replication instance subnet group.
sourcepub fn get_replication_subnet_group_identifier(&self) -> &Option<String>
pub fn get_replication_subnet_group_identifier(&self) -> &Option<String>
The identifier of the replication instance subnet group.
sourcepub fn replication_subnet_group_description(
self,
input: impl Into<String>
) -> Self
pub fn replication_subnet_group_description( self, input: impl Into<String> ) -> Self
A description for the replication subnet group.
sourcepub fn set_replication_subnet_group_description(
self,
input: Option<String>
) -> Self
pub fn set_replication_subnet_group_description( self, input: Option<String> ) -> Self
A description for the replication subnet group.
sourcepub fn get_replication_subnet_group_description(&self) -> &Option<String>
pub fn get_replication_subnet_group_description(&self) -> &Option<String>
A description for the replication subnet group.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC.
sourcepub fn subnet_group_status(self, input: impl Into<String>) -> Self
pub fn subnet_group_status(self, input: impl Into<String>) -> Self
The status of the subnet group.
sourcepub fn set_subnet_group_status(self, input: Option<String>) -> Self
pub fn set_subnet_group_status(self, input: Option<String>) -> Self
The status of the subnet group.
sourcepub fn get_subnet_group_status(&self) -> &Option<String>
pub fn get_subnet_group_status(&self) -> &Option<String>
The status of the 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
.
The subnets that are in the subnet group.
sourcepub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
pub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
The subnets that are in the subnet group.
sourcepub fn get_subnets(&self) -> &Option<Vec<Subnet>>
pub fn get_subnets(&self) -> &Option<Vec<Subnet>>
The subnets that are in the subnet group.
sourcepub fn supported_network_types(self, input: impl Into<String>) -> Self
pub fn supported_network_types(self, input: impl Into<String>) -> Self
Appends an item to supported_network_types
.
To override the contents of this collection use set_supported_network_types
.
The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
sourcepub fn set_supported_network_types(self, input: Option<Vec<String>>) -> Self
pub fn set_supported_network_types(self, input: Option<Vec<String>>) -> Self
The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
sourcepub fn get_supported_network_types(&self) -> &Option<Vec<String>>
pub fn get_supported_network_types(&self) -> &Option<Vec<String>>
The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
sourcepub fn build(self) -> ReplicationSubnetGroup
pub fn build(self) -> ReplicationSubnetGroup
Consumes the builder and constructs a ReplicationSubnetGroup
.
Trait Implementations§
source§impl Clone for ReplicationSubnetGroupBuilder
impl Clone for ReplicationSubnetGroupBuilder
source§fn clone(&self) -> ReplicationSubnetGroupBuilder
fn clone(&self) -> ReplicationSubnetGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReplicationSubnetGroupBuilder
impl Default for ReplicationSubnetGroupBuilder
source§fn default() -> ReplicationSubnetGroupBuilder
fn default() -> ReplicationSubnetGroupBuilder
source§impl PartialEq<ReplicationSubnetGroupBuilder> for ReplicationSubnetGroupBuilder
impl PartialEq<ReplicationSubnetGroupBuilder> for ReplicationSubnetGroupBuilder
source§fn eq(&self, other: &ReplicationSubnetGroupBuilder) -> bool
fn eq(&self, other: &ReplicationSubnetGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.