Struct aws_sdk_rds::operation::modify_db_parameter_group::builders::ModifyDbParameterGroupInputBuilder
source · #[non_exhaustive]pub struct ModifyDbParameterGroupInputBuilder { /* private fields */ }Expand description
A builder for ModifyDbParameterGroupInput.
Implementations§
source§impl ModifyDbParameterGroupInputBuilder
impl ModifyDbParameterGroupInputBuilder
sourcepub fn db_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn db_parameter_group_name(self, input: impl Into<String>) -> Self
The name of the DB parameter group.
Constraints:
-
If supplied, must match the name of an existing
DBParameterGroup.
sourcepub fn set_db_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_db_parameter_group_name(self, input: Option<String>) -> Self
The name of the DB parameter group.
Constraints:
-
If supplied, must match the name of an existing
DBParameterGroup.
sourcepub fn get_db_parameter_group_name(&self) -> &Option<String>
pub fn get_db_parameter_group_name(&self) -> &Option<String>
The name of the DB parameter group.
Constraints:
-
If supplied, must match the name of an existing
DBParameterGroup.
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 parameter names, values, and the application methods for the parameter update. At least one parameter name, value, and application method must be supplied; later arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method): immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters.
When the application method is immediate, changes to dynamic parameters are applied immediately to the DB instances associated with the parameter group.
When the application method is pending-reboot, changes to dynamic and static parameters are applied after a reboot without failover to the DB instances associated with the parameter group.
You can't use pending-reboot with dynamic parameters on RDS for SQL Server DB instances. Use immediate.
For more information on modifying DB parameters, see Working with DB parameter groups in the Amazon RDS User Guide.
sourcepub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
An array of parameter names, values, and the application methods for the parameter update. At least one parameter name, value, and application method must be supplied; later arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method): immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters.
When the application method is immediate, changes to dynamic parameters are applied immediately to the DB instances associated with the parameter group.
When the application method is pending-reboot, changes to dynamic and static parameters are applied after a reboot without failover to the DB instances associated with the parameter group.
You can't use pending-reboot with dynamic parameters on RDS for SQL Server DB instances. Use immediate.
For more information on modifying DB parameters, see Working with DB parameter groups in the Amazon RDS User Guide.
sourcepub fn get_parameters(&self) -> &Option<Vec<Parameter>>
pub fn get_parameters(&self) -> &Option<Vec<Parameter>>
An array of parameter names, values, and the application methods for the parameter update. At least one parameter name, value, and application method must be supplied; later arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method): immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters.
When the application method is immediate, changes to dynamic parameters are applied immediately to the DB instances associated with the parameter group.
When the application method is pending-reboot, changes to dynamic and static parameters are applied after a reboot without failover to the DB instances associated with the parameter group.
You can't use pending-reboot with dynamic parameters on RDS for SQL Server DB instances. Use immediate.
For more information on modifying DB parameters, see Working with DB parameter groups in the Amazon RDS User Guide.
sourcepub fn build(self) -> Result<ModifyDbParameterGroupInput, BuildError>
pub fn build(self) -> Result<ModifyDbParameterGroupInput, BuildError>
Consumes the builder and constructs a ModifyDbParameterGroupInput.
source§impl ModifyDbParameterGroupInputBuilder
impl ModifyDbParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyDbParameterGroupOutput, SdkError<ModifyDBParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyDbParameterGroupOutput, SdkError<ModifyDBParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyDbParameterGroupInputBuilder
impl Clone for ModifyDbParameterGroupInputBuilder
source§fn clone(&self) -> ModifyDbParameterGroupInputBuilder
fn clone(&self) -> ModifyDbParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyDbParameterGroupInputBuilder
impl Default for ModifyDbParameterGroupInputBuilder
source§fn default() -> ModifyDbParameterGroupInputBuilder
fn default() -> ModifyDbParameterGroupInputBuilder
source§impl PartialEq for ModifyDbParameterGroupInputBuilder
impl PartialEq for ModifyDbParameterGroupInputBuilder
source§fn eq(&self, other: &ModifyDbParameterGroupInputBuilder) -> bool
fn eq(&self, other: &ModifyDbParameterGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.