Struct aws_sdk_dax::types::builders::SubnetGroupBuilder
source · #[non_exhaustive]pub struct SubnetGroupBuilder { /* private fields */ }
Expand description
A builder for SubnetGroup
.
Implementations§
source§impl SubnetGroupBuilder
impl SubnetGroupBuilder
sourcepub fn subnet_group_name(self, input: impl Into<String>) -> Self
pub fn subnet_group_name(self, input: impl Into<String>) -> Self
The name of the subnet group.
sourcepub fn set_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_subnet_group_name(self, input: Option<String>) -> Self
The name of the subnet group.
sourcepub fn get_subnet_group_name(&self) -> &Option<String>
pub fn get_subnet_group_name(&self) -> &Option<String>
The name of the subnet group.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the subnet group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the subnet group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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
The Amazon Virtual Private Cloud identifier (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
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The Amazon Virtual Private Cloud identifier (VPC ID) 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
.
A list of subnets associated with the subnet group.
sourcepub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
pub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
A list of subnets associated with the subnet group.
sourcepub fn get_subnets(&self) -> &Option<Vec<Subnet>>
pub fn get_subnets(&self) -> &Option<Vec<Subnet>>
A list of subnets associated with the subnet group.
sourcepub fn build(self) -> SubnetGroup
pub fn build(self) -> SubnetGroup
Consumes the builder and constructs a SubnetGroup
.
Trait Implementations§
source§impl Clone for SubnetGroupBuilder
impl Clone for SubnetGroupBuilder
source§fn clone(&self) -> SubnetGroupBuilder
fn clone(&self) -> SubnetGroupBuilder
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 SubnetGroupBuilder
impl Debug for SubnetGroupBuilder
source§impl Default for SubnetGroupBuilder
impl Default for SubnetGroupBuilder
source§fn default() -> SubnetGroupBuilder
fn default() -> SubnetGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SubnetGroupBuilder
impl PartialEq for SubnetGroupBuilder
source§fn eq(&self, other: &SubnetGroupBuilder) -> bool
fn eq(&self, other: &SubnetGroupBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SubnetGroupBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SubnetGroupBuilder
impl Send for SubnetGroupBuilder
impl Sync for SubnetGroupBuilder
impl Unpin for SubnetGroupBuilder
impl UnwindSafe for SubnetGroupBuilder
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.