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 ==
.impl StructuralPartialEq for CreateClusterSecurityGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateClusterSecurityGroupInputBuilder
impl RefUnwindSafe for CreateClusterSecurityGroupInputBuilder
impl Send for CreateClusterSecurityGroupInputBuilder
impl Sync for CreateClusterSecurityGroupInputBuilder
impl Unpin for CreateClusterSecurityGroupInputBuilder
impl UnwindSafe for CreateClusterSecurityGroupInputBuilder
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