#[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
A name for the subnet group. This value is stored as a lowercase string.
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
A name for the subnet group. This value is stored as a lowercase string.
sourcepub fn get_subnet_group_name(&self) -> &Option<String>
pub fn get_subnet_group_name(&self) -> &Option<String>
A name for the subnet group. This value is stored as a lowercase string.
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.
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
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 Default for CreateSubnetGroupInputBuilder
impl Default for CreateSubnetGroupInputBuilder
source§fn default() -> CreateSubnetGroupInputBuilder
fn default() -> CreateSubnetGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateSubnetGroupInputBuilder
impl PartialEq for CreateSubnetGroupInputBuilder
source§fn eq(&self, other: &CreateSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &CreateSubnetGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSubnetGroupInputBuilder
Auto Trait Implementations§
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
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.