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 ==
.