public class ModifyDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable
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: The apply-immediate method can be used only for dynamic parameters; the pending-reboot method can be used with MySQL and Oracle DB instances for either dynamic or static parameters. For Microsoft SQL Server DB instances, the pending-reboot method can be used only for static parameters.
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 |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public 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 may 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 may 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
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 may 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 may be modified in a single request. Valid Values (for
the application method): immediate | pending-reboot
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.