#[non_exhaustive]pub struct AwsRdsDbSubnetGroupBuilder { /* private fields */ }
Expand description
A builder for AwsRdsDbSubnetGroup
.
Implementations§
source§impl AwsRdsDbSubnetGroupBuilder
impl AwsRdsDbSubnetGroupBuilder
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 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 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 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
The description of the 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
The description of the subnet group.
sourcepub fn get_db_subnet_group_description(&self) -> &Option<String>
pub fn get_db_subnet_group_description(&self) -> &Option<String>
The description of the subnet group.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The VPC ID of the subnet group.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The VPC ID of the subnet group.
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: AwsRdsDbSubnetGroupSubnet) -> Self
pub fn subnets(self, input: AwsRdsDbSubnetGroupSubnet) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
A list of subnets in the subnet group.
sourcepub fn set_subnets(self, input: Option<Vec<AwsRdsDbSubnetGroupSubnet>>) -> Self
pub fn set_subnets(self, input: Option<Vec<AwsRdsDbSubnetGroupSubnet>>) -> Self
A list of subnets in the subnet group.
sourcepub fn get_subnets(&self) -> &Option<Vec<AwsRdsDbSubnetGroupSubnet>>
pub fn get_subnets(&self) -> &Option<Vec<AwsRdsDbSubnetGroupSubnet>>
A list of subnets in the subnet group.
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 ARN of the 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 ARN of the subnet group.
sourcepub fn get_db_subnet_group_arn(&self) -> &Option<String>
pub fn get_db_subnet_group_arn(&self) -> &Option<String>
The ARN of the subnet group.
sourcepub fn build(self) -> AwsRdsDbSubnetGroup
pub fn build(self) -> AwsRdsDbSubnetGroup
Consumes the builder and constructs a AwsRdsDbSubnetGroup
.
Trait Implementations§
source§impl Clone for AwsRdsDbSubnetGroupBuilder
impl Clone for AwsRdsDbSubnetGroupBuilder
source§fn clone(&self) -> AwsRdsDbSubnetGroupBuilder
fn clone(&self) -> AwsRdsDbSubnetGroupBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AwsRdsDbSubnetGroupBuilder
impl Debug for AwsRdsDbSubnetGroupBuilder
source§impl Default for AwsRdsDbSubnetGroupBuilder
impl Default for AwsRdsDbSubnetGroupBuilder
source§fn default() -> AwsRdsDbSubnetGroupBuilder
fn default() -> AwsRdsDbSubnetGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsRdsDbSubnetGroupBuilder
impl PartialEq for AwsRdsDbSubnetGroupBuilder
source§fn eq(&self, other: &AwsRdsDbSubnetGroupBuilder) -> bool
fn eq(&self, other: &AwsRdsDbSubnetGroupBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsRdsDbSubnetGroupBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsRdsDbSubnetGroupBuilder
impl Send for AwsRdsDbSubnetGroupBuilder
impl Sync for AwsRdsDbSubnetGroupBuilder
impl Unpin for AwsRdsDbSubnetGroupBuilder
impl UnwindSafe for AwsRdsDbSubnetGroupBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.