/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the rds-2014-10-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.RDS.Model { /// /// Container for the parameters to the ResetDBParameterGroup operation. /// Modifies the parameters of a DB parameter group to the engine/system default value. /// To reset specific parameters, provide a list of the following: ParameterName /// and ApplyMethod. To reset the entire DB parameter group, specify the /// DBParameterGroup name and ResetAllParameters parameters. /// When resetting the entire group, dynamic parameters are updated immediately and static /// parameters are set to pending-reboot to take effect on the next DB instance /// restart or RebootDBInstance request. /// public partial class ResetDBParameterGroupRequest : AmazonRDSRequest { private string _dbParameterGroupName; private List _parameters = new List(); private bool? _resetAllParameters; /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public ResetDBParameterGroupRequest() { } /// /// Instantiates ResetDBParameterGroupRequest with the parameterized properties /// /// The name of the DB parameter group. Constraints: public ResetDBParameterGroupRequest(string dbParameterGroupName) { _dbParameterGroupName = dbParameterGroupName; } /// /// Gets and sets the property DBParameterGroupName. /// /// The name of the DB parameter group. /// /// /// /// Constraints: /// ///
  • /// /// Must match the name of an existing DBParameterGroup. /// ///
///
[AWSProperty(Required=true)] public string DBParameterGroupName { get { return this._dbParameterGroupName; } set { this._dbParameterGroupName = value; } } // Check to see if DBParameterGroupName property is set internal bool IsSetDBParameterGroupName() { return this._dbParameterGroupName != null; } /// /// Gets and sets the property Parameters. /// /// To reset the entire DB parameter group, specify the DBParameterGroup /// name and ResetAllParameters parameters. To reset specific parameters, /// provide a list of the following: ParameterName and ApplyMethod. /// A maximum of 20 parameters can be modified in a single request. /// /// /// /// MySQL /// /// /// /// Valid Values (for Apply 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, and changes are applied when DB instance /// reboots. /// /// /// /// MariaDB /// /// /// /// Valid Values (for Apply 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, and changes are applied when DB instance /// reboots. /// /// /// /// Oracle /// /// /// /// Valid Values (for Apply method): pending-reboot /// /// public List Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null && this._parameters.Count > 0; } /// /// Gets and sets the property ResetAllParameters. /// /// A value that indicates whether to reset all parameters in the DB parameter group to /// default values. By default, all parameters in the DB parameter group are reset to /// default values. /// /// public bool ResetAllParameters { get { return this._resetAllParameters.GetValueOrDefault(); } set { this._resetAllParameters = value; } } // Check to see if ResetAllParameters property is set internal bool IsSetResetAllParameters() { return this._resetAllParameters.HasValue; } } }