Struct aws_sdk_redshift::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder
source · pub struct CreateClusterSubnetGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateClusterSubnetGroup
.
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide.
Implementations§
source§impl CreateClusterSubnetGroupFluentBuilder
impl CreateClusterSubnetGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateClusterSubnetGroupInputBuilder
pub fn as_input(&self) -> &CreateClusterSubnetGroupInputBuilder
Access the CreateClusterSubnetGroup as a reference.
sourcepub async fn send(
self
) -> Result<CreateClusterSubnetGroupOutput, SdkError<CreateClusterSubnetGroupError, HttpResponse>>
pub async fn send( self ) -> Result<CreateClusterSubnetGroupOutput, SdkError<CreateClusterSubnetGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateClusterSubnetGroupOutput, CreateClusterSubnetGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateClusterSubnetGroupOutput, CreateClusterSubnetGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
-
Must contain no more than 255 alphanumeric characters or hyphens.
-
Must not be "Default".
-
Must be unique for all subnet groups that are created by your Amazon Web Services account.
Example: examplesubnetgroup
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 for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
-
Must contain no more than 255 alphanumeric characters or hyphens.
-
Must not be "Default".
-
Must be unique for all subnet groups that are created by your Amazon Web Services account.
Example: examplesubnetgroup
sourcepub fn get_cluster_subnet_group_name(&self) -> &Option<String>
pub fn get_cluster_subnet_group_name(&self) -> &Option<String>
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
-
Must contain no more than 255 alphanumeric characters or hyphens.
-
Must not be "Default".
-
Must be unique for all subnet groups that are created by your Amazon Web Services account.
Example: examplesubnetgroup
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 SubnetIds
.
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.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tag instances.
A list of tag instances.
A list of tag instances.
Trait Implementations§
source§impl Clone for CreateClusterSubnetGroupFluentBuilder
impl Clone for CreateClusterSubnetGroupFluentBuilder
source§fn clone(&self) -> CreateClusterSubnetGroupFluentBuilder
fn clone(&self) -> CreateClusterSubnetGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more