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 ==
.impl StructuralPartialEq for CreateSubnetGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSubnetGroupInputBuilder
impl RefUnwindSafe for CreateSubnetGroupInputBuilder
impl Send for CreateSubnetGroupInputBuilder
impl Sync for CreateSubnetGroupInputBuilder
impl Unpin for CreateSubnetGroupInputBuilder
impl UnwindSafe for CreateSubnetGroupInputBuilder
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