Struct aws_sdk_redshift::operation::create_cluster_parameter_group::builders::CreateClusterParameterGroupInputBuilder
source · #[non_exhaustive]pub struct CreateClusterParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateClusterParameterGroupInput
.
Implementations§
source§impl CreateClusterParameterGroupInputBuilder
impl CreateClusterParameterGroupInputBuilder
sourcepub fn parameter_group_name(self, input: impl Into<String>) -> Self
pub fn parameter_group_name(self, input: impl Into<String>) -> Self
The name of the cluster parameter group.
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique withing your Amazon Web Services account.
This value is stored as a lower-case string.
sourcepub fn set_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_parameter_group_name(self, input: Option<String>) -> Self
The name of the cluster parameter group.
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique withing your Amazon Web Services account.
This value is stored as a lower-case string.
sourcepub fn get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
The name of the cluster parameter group.
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique withing your Amazon Web Services account.
This value is stored as a lower-case string.
sourcepub fn parameter_group_family(self, input: impl Into<String>) -> Self
pub fn parameter_group_family(self, input: impl Into<String>) -> Self
The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups
. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
sourcepub fn set_parameter_group_family(self, input: Option<String>) -> Self
pub fn set_parameter_group_family(self, input: Option<String>) -> Self
The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups
. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
sourcepub fn get_parameter_group_family(&self) -> &Option<String>
pub fn get_parameter_group_family(&self) -> &Option<String>
The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups
. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the parameter 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 of the parameter group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the parameter 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<CreateClusterParameterGroupInput, BuildError>
pub fn build(self) -> Result<CreateClusterParameterGroupInput, BuildError>
Consumes the builder and constructs a CreateClusterParameterGroupInput
.
source§impl CreateClusterParameterGroupInputBuilder
impl CreateClusterParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateClusterParameterGroupOutput, SdkError<CreateClusterParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateClusterParameterGroupOutput, SdkError<CreateClusterParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateClusterParameterGroupInputBuilder
impl Clone for CreateClusterParameterGroupInputBuilder
source§fn clone(&self) -> CreateClusterParameterGroupInputBuilder
fn clone(&self) -> CreateClusterParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateClusterParameterGroupInputBuilder
impl Default for CreateClusterParameterGroupInputBuilder
source§fn default() -> CreateClusterParameterGroupInputBuilder
fn default() -> CreateClusterParameterGroupInputBuilder
source§impl PartialEq for CreateClusterParameterGroupInputBuilder
impl PartialEq for CreateClusterParameterGroupInputBuilder
source§fn eq(&self, other: &CreateClusterParameterGroupInputBuilder) -> bool
fn eq(&self, other: &CreateClusterParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.