public class ResetDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ResetDBParameterGroup operation
.
Modifies the parameters of a DB parameter group to the engine/system
default value. To reset specific parameters submit 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.
NOOP
Constructor and Description |
---|
ResetDBParameterGroupRequest()
Default constructor for a new ResetDBParameterGroupRequest object.
|
ResetDBParameterGroupRequest(String dBParameterGroupName)
Constructs a new ResetDBParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
ResetDBParameterGroupRequest |
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.
|
Boolean |
getResetAllParameters()
Specifies whether (
true ) or not (false ) to
reset all parameters in the DB parameter group to default values. |
int |
hashCode() |
Boolean |
isResetAllParameters()
Specifies whether (
true ) or not (false ) to
reset all parameters in the DB parameter group to default values. |
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.
|
void |
setResetAllParameters(Boolean resetAllParameters)
Specifies whether (
true ) or not (false ) to
reset all parameters in the DB parameter group to default values. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResetDBParameterGroupRequest |
withDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
|
ResetDBParameterGroupRequest |
withParameters(Collection<Parameter> parameters)
An array of parameter names, values, and the apply method for the
parameter update.
|
ResetDBParameterGroupRequest |
withParameters(Parameter... parameters)
An array of parameter names, values, and the apply method for the
parameter update.
|
ResetDBParameterGroupRequest |
withResetAllParameters(Boolean resetAllParameters)
Specifies whether (
true ) or not (false ) to
reset all parameters in the DB parameter group to default values. |
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ResetDBParameterGroupRequest()
public ResetDBParameterGroupRequest(String dBParameterGroupName)
dBParameterGroupName
- The name of the DB parameter group.
Constraints:
public String getDBParameterGroupName()
Constraints:
Constraints:
public void setDBParameterGroupName(String dBParameterGroupName)
Constraints:
dBParameterGroupName
- The name of the DB parameter group. Constraints:
public ResetDBParameterGroupRequest 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 Boolean isResetAllParameters()
true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
public void setResetAllParameters(Boolean resetAllParameters)
true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
resetAllParameters
- Specifies whether (true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
public ResetDBParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
Returns a reference to this object so that method calls can be chained together.
resetAllParameters
- Specifies whether (true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
public Boolean getResetAllParameters()
true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
true
) or not (false
) to
reset all parameters in the DB parameter group to default values.
Default: true
public List<Parameter> getParameters()
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.
Oracle
Valid Values (for Apply
method): pending-reboot
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.
Oracle
Valid Values (for Apply
method): pending-reboot
public void setParameters(Collection<Parameter> parameters)
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.
Oracle
Valid Values (for Apply
method): 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. 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.
Oracle
Valid Values (for Apply
method): pending-reboot
public ResetDBParameterGroupRequest withParameters(Parameter... parameters)
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.
Oracle
Valid Values (for Apply
method): 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. 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.
Oracle
Valid Values (for Apply
method): pending-reboot
public ResetDBParameterGroupRequest withParameters(Collection<Parameter> parameters)
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.
Oracle
Valid Values (for Apply
method): 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. 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.
Oracle
Valid Values (for Apply
method): pending-reboot
public String toString()
toString
in class Object
Object.toString()
public ResetDBParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.