Struct aws_sdk_redshift::operation::modify_cluster_subnet_group::builders::ModifyClusterSubnetGroupInputBuilder
source · #[non_exhaustive]pub struct ModifyClusterSubnetGroupInputBuilder { /* private fields */ }
Expand description
A builder for ModifyClusterSubnetGroupInput
.
Implementations§
source§impl ModifyClusterSubnetGroupInputBuilder
impl ModifyClusterSubnetGroupInputBuilder
sourcepub fn cluster_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn cluster_subnet_group_name(self, input: impl Into<String>) -> Self
The name of the subnet group to be modified.
This field is required.sourcepub fn set_cluster_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_cluster_subnet_group_name(self, input: Option<String>) -> Self
The name of the subnet group to be modified.
sourcepub fn get_cluster_subnet_group_name(&self) -> &Option<String>
pub fn get_cluster_subnet_group_name(&self) -> &Option<String>
The name of the subnet group to be modified.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A text description of the subnet group to be modified.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A text description of the subnet group to be modified.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A text description of the subnet group to be modified.
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
.
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
sourcepub fn build(self) -> Result<ModifyClusterSubnetGroupInput, BuildError>
pub fn build(self) -> Result<ModifyClusterSubnetGroupInput, BuildError>
Consumes the builder and constructs a ModifyClusterSubnetGroupInput
.
source§impl ModifyClusterSubnetGroupInputBuilder
impl ModifyClusterSubnetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifyClusterSubnetGroupOutput, SdkError<ModifyClusterSubnetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifyClusterSubnetGroupOutput, SdkError<ModifyClusterSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyClusterSubnetGroupInputBuilder
impl Clone for ModifyClusterSubnetGroupInputBuilder
source§fn clone(&self) -> ModifyClusterSubnetGroupInputBuilder
fn clone(&self) -> ModifyClusterSubnetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyClusterSubnetGroupInputBuilder
impl Default for ModifyClusterSubnetGroupInputBuilder
source§fn default() -> ModifyClusterSubnetGroupInputBuilder
fn default() -> ModifyClusterSubnetGroupInputBuilder
source§impl PartialEq for ModifyClusterSubnetGroupInputBuilder
impl PartialEq for ModifyClusterSubnetGroupInputBuilder
source§fn eq(&self, other: &ModifyClusterSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &ModifyClusterSubnetGroupInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModifyClusterSubnetGroupInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyClusterSubnetGroupInputBuilder
impl RefUnwindSafe for ModifyClusterSubnetGroupInputBuilder
impl Send for ModifyClusterSubnetGroupInputBuilder
impl Sync for ModifyClusterSubnetGroupInputBuilder
impl Unpin for ModifyClusterSubnetGroupInputBuilder
impl UnwindSafe for ModifyClusterSubnetGroupInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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