Struct aws_sdk_redshift::operation::create_cluster_security_group::CreateClusterSecurityGroupInput
source · #[non_exhaustive]pub struct CreateClusterSecurityGroupInput {
pub cluster_security_group_name: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster_security_group_name: 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
description: Option<String>
A description for the security group.
A list of tag instances.
Implementations§
source§impl CreateClusterSecurityGroupInput
impl CreateClusterSecurityGroupInput
sourcepub fn cluster_security_group_name(&self) -> Option<&str>
pub fn cluster_security_group_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the security group.
A list of tag instances.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateClusterSecurityGroupInput
impl CreateClusterSecurityGroupInput
sourcepub fn builder() -> CreateClusterSecurityGroupInputBuilder
pub fn builder() -> CreateClusterSecurityGroupInputBuilder
Creates a new builder-style object to manufacture CreateClusterSecurityGroupInput
.
Trait Implementations§
source§impl Clone for CreateClusterSecurityGroupInput
impl Clone for CreateClusterSecurityGroupInput
source§fn clone(&self) -> CreateClusterSecurityGroupInput
fn clone(&self) -> CreateClusterSecurityGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateClusterSecurityGroupInput
impl PartialEq for CreateClusterSecurityGroupInput
source§fn eq(&self, other: &CreateClusterSecurityGroupInput) -> bool
fn eq(&self, other: &CreateClusterSecurityGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateClusterSecurityGroupInput
Auto Trait Implementations§
impl Freeze for CreateClusterSecurityGroupInput
impl RefUnwindSafe for CreateClusterSecurityGroupInput
impl Send for CreateClusterSecurityGroupInput
impl Sync for CreateClusterSecurityGroupInput
impl Unpin for CreateClusterSecurityGroupInput
impl UnwindSafe for CreateClusterSecurityGroupInput
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> 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