Struct aws_sdk_memorydb::operation::create_subnet_group::builders::CreateSubnetGroupInputBuilder
source · #[non_exhaustive]pub struct CreateSubnetGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateSubnetGroupInput
.
Implementations§
source§impl CreateSubnetGroupInputBuilder
impl CreateSubnetGroupInputBuilder
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.
This field is required.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
A description for the subnet group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the subnet group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the subnet group.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
A list of VPC subnet IDs for the subnet group.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC subnet IDs for the subnet group.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of VPC subnet IDs for the subnet group.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
sourcepub fn build(self) -> Result<CreateSubnetGroupInput, BuildError>
pub fn build(self) -> Result<CreateSubnetGroupInput, BuildError>
Consumes the builder and constructs a CreateSubnetGroupInput
.
source§impl CreateSubnetGroupInputBuilder
impl CreateSubnetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSubnetGroupOutput, SdkError<CreateSubnetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSubnetGroupOutput, SdkError<CreateSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSubnetGroupInputBuilder
impl Clone for CreateSubnetGroupInputBuilder
source§fn clone(&self) -> CreateSubnetGroupInputBuilder
fn clone(&self) -> CreateSubnetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSubnetGroupInputBuilder
impl Default for CreateSubnetGroupInputBuilder
source§fn default() -> CreateSubnetGroupInputBuilder
fn default() -> CreateSubnetGroupInputBuilder
source§impl PartialEq for CreateSubnetGroupInputBuilder
impl PartialEq for CreateSubnetGroupInputBuilder
source§fn eq(&self, other: &CreateSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &CreateSubnetGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.