Struct aws_sdk_redshift::operation::reset_cluster_parameter_group::builders::ResetClusterParameterGroupFluentBuilder
source · pub struct ResetClusterParameterGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ResetClusterParameterGroup
.
Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.
Implementations§
source§impl ResetClusterParameterGroupFluentBuilder
impl ResetClusterParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &ResetClusterParameterGroupInputBuilder
pub fn as_input(&self) -> &ResetClusterParameterGroupInputBuilder
Access the ResetClusterParameterGroup as a reference.
sourcepub async fn send(
self
) -> Result<ResetClusterParameterGroupOutput, SdkError<ResetClusterParameterGroupError, HttpResponse>>
pub async fn send( self ) -> Result<ResetClusterParameterGroupOutput, SdkError<ResetClusterParameterGroupError, 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<ResetClusterParameterGroupOutput, ResetClusterParameterGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<ResetClusterParameterGroupOutput, ResetClusterParameterGroupError, 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 to be reset.
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 to be reset.
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 to be reset.
sourcepub fn reset_all_parameters(self, input: bool) -> Self
pub fn reset_all_parameters(self, input: bool) -> Self
If true
, all parameters in the specified parameter group will be reset to their default values.
Default: true
sourcepub fn set_reset_all_parameters(self, input: Option<bool>) -> Self
pub fn set_reset_all_parameters(self, input: Option<bool>) -> Self
If true
, all parameters in the specified parameter group will be reset to their default values.
Default: true
sourcepub fn get_reset_all_parameters(&self) -> &Option<bool>
pub fn get_reset_all_parameters(&self) -> &Option<bool>
If true
, all parameters in the specified parameter group will be reset to their default values.
Default: true
sourcepub fn parameters(self, input: Parameter) -> Self
pub fn parameters(self, input: Parameter) -> Self
Appends an item to Parameters
.
To override the contents of this collection use set_parameters
.
An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.
Constraints: A maximum of 20 parameters can be reset in a single request.
sourcepub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.
Constraints: A maximum of 20 parameters can be reset in a single request.
sourcepub fn get_parameters(&self) -> &Option<Vec<Parameter>>
pub fn get_parameters(&self) -> &Option<Vec<Parameter>>
An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.
Constraints: A maximum of 20 parameters can be reset in a single request.
Trait Implementations§
source§impl Clone for ResetClusterParameterGroupFluentBuilder
impl Clone for ResetClusterParameterGroupFluentBuilder
source§fn clone(&self) -> ResetClusterParameterGroupFluentBuilder
fn clone(&self) -> ResetClusterParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more