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 ==
.