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 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 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 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 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<SubnetGroupBuilder> for SubnetGroupBuilder
impl PartialEq<SubnetGroupBuilder> 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 ==.