public class ModifyDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyDBParameterGroup operation.
 
 Modifies the parameters of a DB parameter group. To modify more than
 one parameter, submit a list of the following:
 ParameterName ,
 ParameterValue , and
 ApplyMethod . A maximum of 20 parameters can be modified
 in a single request.
 
NOTE: Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB instance associated with the parameter group before the change can take effect.
IMPORTANT: After you modify a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the modify action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.
NOOP| Constructor and Description | 
|---|
| ModifyDBParameterGroupRequest()Default constructor for a new ModifyDBParameterGroupRequest object. | 
| ModifyDBParameterGroupRequest(String dBParameterGroupName,
                             List<Parameter> parameters)Constructs a new ModifyDBParameterGroupRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| ModifyDBParameterGroupRequest | clone()Creates a shallow clone of this request. | 
| boolean | equals(Object obj) | 
| String | getDBParameterGroupName()The name of the DB parameter group. | 
| List<Parameter> | getParameters()An array of parameter names, values, and the apply method for the
 parameter update. | 
| int | hashCode() | 
| void | setDBParameterGroupName(String dBParameterGroupName)The name of the DB parameter group. | 
| void | setParameters(Collection<Parameter> parameters)An array of parameter names, values, and the apply method for the
 parameter update. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ModifyDBParameterGroupRequest | withDBParameterGroupName(String dBParameterGroupName)The name of the DB parameter group. | 
| ModifyDBParameterGroupRequest | withParameters(Collection<Parameter> parameters)An array of parameter names, values, and the apply method for the
 parameter update. | 
| ModifyDBParameterGroupRequest | withParameters(Parameter... parameters)An array of parameter names, values, and the apply method for the
 parameter update. | 
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic ModifyDBParameterGroupRequest()
public ModifyDBParameterGroupRequest(String dBParameterGroupName, List<Parameter> parameters)
dBParameterGroupName - The name of the DB parameter group.
 Constraints:
parameters - An array of parameter names, values, and the apply
 method for the parameter update. At least one parameter name, value,
 and apply method must be supplied; subsequent arguments are optional.
 A maximum of 20 parameters can be modified in a single request.
 Valid Values (for the application method): immediate |
 pending-reboot 
public String getDBParameterGroupName()
Constraints:
Constraints:
public void setDBParameterGroupName(String dBParameterGroupName)
Constraints:
dBParameterGroupName - The name of the DB parameter group. Constraints:
public ModifyDBParameterGroupRequest withDBParameterGroupName(String dBParameterGroupName)
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBParameterGroupName - The name of the DB parameter group. Constraints:
public List<Parameter> getParameters()
Valid Values (for
 the application method): immediate | pending-reboot
 
Valid Values (for
         the application method): immediate | pending-reboot
         
public void setParameters(Collection<Parameter> parameters)
Valid Values (for
 the application method): immediate | pending-reboot
 
parameters - An array of parameter names, values, and the apply method for the
         parameter update. At least one parameter name, value, and apply method
         must be supplied; subsequent arguments are optional. A maximum of 20
         parameters can be modified in a single request. Valid Values (for
         the application method): immediate | pending-reboot
         
public ModifyDBParameterGroupRequest withParameters(Parameter... parameters)
Valid Values (for
 the application method): immediate | pending-reboot
 
 NOTE: This method appends the values to the existing list (if
 any). Use setParameters(java.util.Collection) or withParameters(java.util.Collection) if you want to override the
 existing values.
 
Returns a reference to this object so that method calls can be chained together.
parameters - An array of parameter names, values, and the apply method for the
         parameter update. At least one parameter name, value, and apply method
         must be supplied; subsequent arguments are optional. A maximum of 20
         parameters can be modified in a single request. Valid Values (for
         the application method): immediate | pending-reboot
         
public ModifyDBParameterGroupRequest withParameters(Collection<Parameter> parameters)
Valid Values (for
 the application method): immediate | pending-reboot
 
Returns a reference to this object so that method calls can be chained together.
parameters - An array of parameter names, values, and the apply method for the
         parameter update. At least one parameter name, value, and apply method
         must be supplied; subsequent arguments are optional. A maximum of 20
         parameters can be modified in a single request. Valid Values (for
         the application method): immediate | pending-reboot
         
public String toString()
toString in class ObjectObject.toString()public ModifyDBParameterGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.