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 ==
.