Struct aws_sdk_redshift::operation::create_cluster_parameter_group::builders::CreateClusterParameterGroupFluentBuilder
source · pub struct CreateClusterParameterGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateClusterParameterGroup
.
Creates an Amazon Redshift parameter group.
Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster
.
Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Implementations§
source§impl CreateClusterParameterGroupFluentBuilder
impl CreateClusterParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateClusterParameterGroupInputBuilder
pub fn as_input(&self) -> &CreateClusterParameterGroupInputBuilder
Access the CreateClusterParameterGroup as a reference.
sourcepub async fn send(
self,
) -> Result<CreateClusterParameterGroupOutput, SdkError<CreateClusterParameterGroupError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateClusterParameterGroupOutput, SdkError<CreateClusterParameterGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<CreateClusterParameterGroupOutput, CreateClusterParameterGroupError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateClusterParameterGroupOutput, CreateClusterParameterGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for CreateClusterParameterGroupFluentBuilder
impl Clone for CreateClusterParameterGroupFluentBuilder
source§fn clone(&self) -> CreateClusterParameterGroupFluentBuilder
fn clone(&self) -> CreateClusterParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateClusterParameterGroupFluentBuilder
impl !RefUnwindSafe for CreateClusterParameterGroupFluentBuilder
impl Send for CreateClusterParameterGroupFluentBuilder
impl Sync for CreateClusterParameterGroupFluentBuilder
impl Unpin for CreateClusterParameterGroupFluentBuilder
impl !UnwindSafe for CreateClusterParameterGroupFluentBuilder
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