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 ==
.impl StructuralPartialEq for ResetClusterParameterGroupInput
Auto Trait Implementations§
impl Freeze for ResetClusterParameterGroupInput
impl RefUnwindSafe for ResetClusterParameterGroupInput
impl Send for ResetClusterParameterGroupInput
impl Sync for ResetClusterParameterGroupInput
impl Unpin for ResetClusterParameterGroupInput
impl UnwindSafe for ResetClusterParameterGroupInput
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