#[non_exhaustive]pub struct UpdateSubnetGroupInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSubnetGroupInput
.
Implementations§
source§impl UpdateSubnetGroupInputBuilder
impl UpdateSubnetGroupInputBuilder
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 of the subnet group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the subnet group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of 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 subnet IDs in 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 subnet IDs in the subnet group.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of subnet IDs in the subnet group.
sourcepub fn build(self) -> Result<UpdateSubnetGroupInput, BuildError>
pub fn build(self) -> Result<UpdateSubnetGroupInput, BuildError>
Consumes the builder and constructs a UpdateSubnetGroupInput
.
source§impl UpdateSubnetGroupInputBuilder
impl UpdateSubnetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSubnetGroupOutput, SdkError<UpdateSubnetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSubnetGroupOutput, SdkError<UpdateSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSubnetGroupInputBuilder
impl Clone for UpdateSubnetGroupInputBuilder
source§fn clone(&self) -> UpdateSubnetGroupInputBuilder
fn clone(&self) -> UpdateSubnetGroupInputBuilder
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 UpdateSubnetGroupInputBuilder
impl Default for UpdateSubnetGroupInputBuilder
source§fn default() -> UpdateSubnetGroupInputBuilder
fn default() -> UpdateSubnetGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateSubnetGroupInputBuilder
impl PartialEq for UpdateSubnetGroupInputBuilder
source§fn eq(&self, other: &UpdateSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &UpdateSubnetGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSubnetGroupInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSubnetGroupInputBuilder
impl RefUnwindSafe for UpdateSubnetGroupInputBuilder
impl Send for UpdateSubnetGroupInputBuilder
impl Sync for UpdateSubnetGroupInputBuilder
impl Unpin for UpdateSubnetGroupInputBuilder
impl UnwindSafe for UpdateSubnetGroupInputBuilder
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.