Struct aws_sdk_redshift::operation::create_cluster_security_group::builders::CreateClusterSecurityGroupInputBuilder
source · #[non_exhaustive]pub struct CreateClusterSecurityGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateClusterSecurityGroupInput
.
Implementations§
source§impl CreateClusterSecurityGroupInputBuilder
impl CreateClusterSecurityGroupInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateClusterSecurityGroupInput, BuildError>
pub fn build(self) -> Result<CreateClusterSecurityGroupInput, BuildError>
Consumes the builder and constructs a CreateClusterSecurityGroupInput
.
source§impl CreateClusterSecurityGroupInputBuilder
impl CreateClusterSecurityGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateClusterSecurityGroupOutput, SdkError<CreateClusterSecurityGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateClusterSecurityGroupOutput, SdkError<CreateClusterSecurityGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateClusterSecurityGroupInputBuilder
impl Clone for CreateClusterSecurityGroupInputBuilder
source§fn clone(&self) -> CreateClusterSecurityGroupInputBuilder
fn clone(&self) -> CreateClusterSecurityGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateClusterSecurityGroupInputBuilder
impl Default for CreateClusterSecurityGroupInputBuilder
source§fn default() -> CreateClusterSecurityGroupInputBuilder
fn default() -> CreateClusterSecurityGroupInputBuilder
source§impl PartialEq for CreateClusterSecurityGroupInputBuilder
impl PartialEq for CreateClusterSecurityGroupInputBuilder
source§fn eq(&self, other: &CreateClusterSecurityGroupInputBuilder) -> bool
fn eq(&self, other: &CreateClusterSecurityGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.