Struct aws_sdk_redshift::operation::reset_cluster_parameter_group::ResetClusterParameterGroupInput
source · #[non_exhaustive]pub struct ResetClusterParameterGroupInput {
pub parameter_group_name: Option<String>,
pub reset_all_parameters: Option<bool>,
pub parameters: Option<Vec<Parameter>>,
}
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.parameter_group_name: Option<String>
The name of the cluster parameter group to be reset.
reset_all_parameters: Option<bool>
If true
, all parameters in the specified parameter group will be reset to their default values.
Default: true
parameters: 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.
Implementations§
source§impl ResetClusterParameterGroupInput
impl ResetClusterParameterGroupInput
sourcepub fn parameter_group_name(&self) -> Option<&str>
pub fn parameter_group_name(&self) -> Option<&str>
The name of the cluster parameter group to be reset.
sourcepub fn reset_all_parameters(&self) -> Option<bool>
pub fn 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) -> &[Parameter]
pub fn parameters(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none()
.
source§impl ResetClusterParameterGroupInput
impl ResetClusterParameterGroupInput
sourcepub fn builder() -> ResetClusterParameterGroupInputBuilder
pub fn builder() -> ResetClusterParameterGroupInputBuilder
Creates a new builder-style object to manufacture ResetClusterParameterGroupInput
.
Trait Implementations§
source§impl Clone for ResetClusterParameterGroupInput
impl Clone for ResetClusterParameterGroupInput
source§fn clone(&self) -> ResetClusterParameterGroupInput
fn clone(&self) -> ResetClusterParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ResetClusterParameterGroupInput
impl PartialEq for ResetClusterParameterGroupInput
source§fn eq(&self, other: &ResetClusterParameterGroupInput) -> bool
fn eq(&self, other: &ResetClusterParameterGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.