Struct aws_sdk_redshift::operation::create_cluster_security_group::builders::CreateClusterSecurityGroupFluentBuilder
source · pub struct CreateClusterSecurityGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateClusterSecurityGroup
.
Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
Implementations§
source§impl CreateClusterSecurityGroupFluentBuilder
impl CreateClusterSecurityGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateClusterSecurityGroupInputBuilder
pub fn as_input(&self) -> &CreateClusterSecurityGroupInputBuilder
Access the CreateClusterSecurityGroup as a reference.
sourcepub async fn send(
self
) -> Result<CreateClusterSecurityGroupOutput, SdkError<CreateClusterSecurityGroupError, HttpResponse>>
pub async fn send( self ) -> Result<CreateClusterSecurityGroupOutput, SdkError<CreateClusterSecurityGroupError, 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<CreateClusterSecurityGroupOutput, CreateClusterSecurityGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateClusterSecurityGroupOutput, CreateClusterSecurityGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_security_group_name(self, input: impl Into<String>) -> Self
pub fn cluster_security_group_name(self, input: impl Into<String>) -> Self
The name for the security 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 security groups that are created by your Amazon Web Services account.
Example: examplesecuritygroup
sourcepub fn set_cluster_security_group_name(self, input: Option<String>) -> Self
pub fn set_cluster_security_group_name(self, input: Option<String>) -> Self
The name for the security 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 security groups that are created by your Amazon Web Services account.
Example: examplesecuritygroup
sourcepub fn get_cluster_security_group_name(&self) -> &Option<String>
pub fn get_cluster_security_group_name(&self) -> &Option<String>
The name for the security 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 security groups that are created by your Amazon Web Services account.
Example: examplesecuritygroup
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the security group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the security group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the security group.
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 CreateClusterSecurityGroupFluentBuilder
impl Clone for CreateClusterSecurityGroupFluentBuilder
source§fn clone(&self) -> CreateClusterSecurityGroupFluentBuilder
fn clone(&self) -> CreateClusterSecurityGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more