Struct aws_sdk_redshift::operation::create_cluster_subnet_group::CreateClusterSubnetGroupInput
source · #[non_exhaustive]pub struct CreateClusterSubnetGroupInput {
pub cluster_subnet_group_name: Option<String>,
pub description: Option<String>,
pub subnet_ids: Option<Vec<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_subnet_group_name: 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
description: Option<String>A description for the subnet group.
subnet_ids: Option<Vec<String>>An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
A list of tag instances.
Implementations§
source§impl CreateClusterSubnetGroupInput
impl CreateClusterSubnetGroupInput
sourcepub fn cluster_subnet_group_name(&self) -> Option<&str>
pub fn cluster_subnet_group_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the subnet group.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none().
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 CreateClusterSubnetGroupInput
impl CreateClusterSubnetGroupInput
sourcepub fn builder() -> CreateClusterSubnetGroupInputBuilder
pub fn builder() -> CreateClusterSubnetGroupInputBuilder
Creates a new builder-style object to manufacture CreateClusterSubnetGroupInput.
Trait Implementations§
source§impl Clone for CreateClusterSubnetGroupInput
impl Clone for CreateClusterSubnetGroupInput
source§fn clone(&self) -> CreateClusterSubnetGroupInput
fn clone(&self) -> CreateClusterSubnetGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateClusterSubnetGroupInput
impl PartialEq for CreateClusterSubnetGroupInput
source§fn eq(&self, other: &CreateClusterSubnetGroupInput) -> bool
fn eq(&self, other: &CreateClusterSubnetGroupInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateClusterSubnetGroupInput
Auto Trait Implementations§
impl Freeze for CreateClusterSubnetGroupInput
impl RefUnwindSafe for CreateClusterSubnetGroupInput
impl Send for CreateClusterSubnetGroupInput
impl Sync for CreateClusterSubnetGroupInput
impl Unpin for CreateClusterSubnetGroupInput
impl UnwindSafe for CreateClusterSubnetGroupInput
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