Struct aws_sdk_rds::types::builders::DbSubnetGroupBuilder
source · #[non_exhaustive]pub struct DbSubnetGroupBuilder { /* private fields */ }Expand description
A builder for DbSubnetGroup.
Implementations§
source§impl DbSubnetGroupBuilder
impl DbSubnetGroupBuilder
sourcepub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
The name of the DB subnet group.
sourcepub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
The name of the DB subnet group.
sourcepub fn get_db_subnet_group_name(&self) -> &Option<String>
pub fn get_db_subnet_group_name(&self) -> &Option<String>
The name of the DB subnet group.
sourcepub fn db_subnet_group_description(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_description(self, input: impl Into<String>) -> Self
Provides the description of the DB subnet group.
sourcepub fn set_db_subnet_group_description(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_description(self, input: Option<String>) -> Self
Provides the description of the DB subnet group.
sourcepub fn get_db_subnet_group_description(&self) -> &Option<String>
pub fn get_db_subnet_group_description(&self) -> &Option<String>
Provides the description of the DB subnet group.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
Provides the VpcId of the DB subnet group.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
Provides the VpcId of the DB subnet group.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
Provides the VpcId of the DB subnet group.
sourcepub fn subnet_group_status(self, input: impl Into<String>) -> Self
pub fn subnet_group_status(self, input: impl Into<String>) -> Self
Provides the status of the DB subnet group.
sourcepub fn set_subnet_group_status(self, input: Option<String>) -> Self
pub fn set_subnet_group_status(self, input: Option<String>) -> Self
Provides the status of the DB subnet group.
sourcepub fn get_subnet_group_status(&self) -> &Option<String>
pub fn get_subnet_group_status(&self) -> &Option<String>
Provides the status of the DB 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.
Contains a list of Subnet elements.
sourcepub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
pub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
Contains a list of Subnet elements.
sourcepub fn get_subnets(&self) -> &Option<Vec<Subnet>>
pub fn get_subnets(&self) -> &Option<Vec<Subnet>>
Contains a list of Subnet elements.
sourcepub fn db_subnet_group_arn(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the DB subnet group.
sourcepub fn set_db_subnet_group_arn(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the DB subnet group.
sourcepub fn get_db_subnet_group_arn(&self) -> &Option<String>
pub fn get_db_subnet_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the DB 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 network type of the DB subnet group.
Valid values:
-
IPV4 -
DUAL
A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
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 network type of the DB subnet group.
Valid values:
-
IPV4 -
DUAL
A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
sourcepub fn get_supported_network_types(&self) -> &Option<Vec<String>>
pub fn get_supported_network_types(&self) -> &Option<Vec<String>>
The network type of the DB subnet group.
Valid values:
-
IPV4 -
DUAL
A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
sourcepub fn build(self) -> DbSubnetGroup
pub fn build(self) -> DbSubnetGroup
Consumes the builder and constructs a DbSubnetGroup.
Trait Implementations§
source§impl Clone for DbSubnetGroupBuilder
impl Clone for DbSubnetGroupBuilder
source§fn clone(&self) -> DbSubnetGroupBuilder
fn clone(&self) -> DbSubnetGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbSubnetGroupBuilder
impl Debug for DbSubnetGroupBuilder
source§impl Default for DbSubnetGroupBuilder
impl Default for DbSubnetGroupBuilder
source§fn default() -> DbSubnetGroupBuilder
fn default() -> DbSubnetGroupBuilder
source§impl PartialEq for DbSubnetGroupBuilder
impl PartialEq for DbSubnetGroupBuilder
source§fn eq(&self, other: &DbSubnetGroupBuilder) -> bool
fn eq(&self, other: &DbSubnetGroupBuilder) -> bool
self and other values to be equal, and is used
by ==.