pub struct Builder { /* private fields */ }
Expand description
A builder for ReplicationSubnetGroup
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 build(self) -> ReplicationSubnetGroup
pub fn build(self) -> ReplicationSubnetGroup
Consumes the builder and constructs a ReplicationSubnetGroup
.