Struct aws_sdk_redshift::operation::modify_cluster_parameter_group::builders::ModifyClusterParameterGroupInputBuilder
source · #[non_exhaustive]pub struct ModifyClusterParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for ModifyClusterParameterGroupInput
.
Implementations§
source§impl ModifyClusterParameterGroupInputBuilder
impl ModifyClusterParameterGroupInputBuilder
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 parameter group to be modified.
This field is required.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 parameter group to be modified.
sourcepub fn get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
The name of the parameter group to be modified.
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 parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
sourcepub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
sourcepub fn get_parameters(&self) -> &Option<Vec<Parameter>>
pub fn get_parameters(&self) -> &Option<Vec<Parameter>>
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
sourcepub fn build(self) -> Result<ModifyClusterParameterGroupInput, BuildError>
pub fn build(self) -> Result<ModifyClusterParameterGroupInput, BuildError>
Consumes the builder and constructs a ModifyClusterParameterGroupInput
.
source§impl ModifyClusterParameterGroupInputBuilder
impl ModifyClusterParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifyClusterParameterGroupOutput, SdkError<ModifyClusterParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifyClusterParameterGroupOutput, SdkError<ModifyClusterParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyClusterParameterGroupInputBuilder
impl Clone for ModifyClusterParameterGroupInputBuilder
source§fn clone(&self) -> ModifyClusterParameterGroupInputBuilder
fn clone(&self) -> ModifyClusterParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyClusterParameterGroupInputBuilder
impl Default for ModifyClusterParameterGroupInputBuilder
source§fn default() -> ModifyClusterParameterGroupInputBuilder
fn default() -> ModifyClusterParameterGroupInputBuilder
source§impl PartialEq for ModifyClusterParameterGroupInputBuilder
impl PartialEq for ModifyClusterParameterGroupInputBuilder
source§fn eq(&self, other: &ModifyClusterParameterGroupInputBuilder) -> bool
fn eq(&self, other: &ModifyClusterParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModifyClusterParameterGroupInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyClusterParameterGroupInputBuilder
impl RefUnwindSafe for ModifyClusterParameterGroupInputBuilder
impl Send for ModifyClusterParameterGroupInputBuilder
impl Sync for ModifyClusterParameterGroupInputBuilder
impl Unpin for ModifyClusterParameterGroupInputBuilder
impl UnwindSafe for ModifyClusterParameterGroupInputBuilder
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