Struct aws_sdk_docdb::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 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
Provides 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
Provides 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>
Provides the description of the subnet group.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
Provides the virtual private cloud (VPC) ID of the subnet group.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
Provides the virtual private cloud (VPC) ID of the subnet group.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
Provides the virtual private cloud (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
Provides 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
Provides the status of the 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 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
.
Detailed information about one or more subnets within a subnet group.
sourcepub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
pub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
Detailed information about one or more subnets within a subnet group.
sourcepub fn get_subnets(&self) -> &Option<Vec<Subnet>>
pub fn get_subnets(&self) -> &Option<Vec<Subnet>>
Detailed information about one or more subnets within a 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 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 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 ==
.impl StructuralPartialEq for DbSubnetGroupBuilder
Auto Trait Implementations§
impl Freeze for DbSubnetGroupBuilder
impl RefUnwindSafe for DbSubnetGroupBuilder
impl Send for DbSubnetGroupBuilder
impl Sync for DbSubnetGroupBuilder
impl Unpin for DbSubnetGroupBuilder
impl UnwindSafe for DbSubnetGroupBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more