Class ResetDBParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.ResetDBParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ResetDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ResetDBParameterGroupRequest()
Default constructor for ResetDBParameterGroupRequest object.ResetDBParameterGroupRequest(String dBParameterGroupName)
Constructs a new ResetDBParameterGroupRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Parameter... parameters)
An array of parameter names, values, and the apply method for the parameter update.ResetDBParameterGroupRequest
withParameters(Collection<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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
ResetDBParameterGroupRequest
public ResetDBParameterGroupRequest()
Default constructor for ResetDBParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ResetDBParameterGroupRequest
public ResetDBParameterGroupRequest(String dBParameterGroupName)
Constructs a new ResetDBParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
dBParameterGroupName
- The name of the DB parameter group.Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
-
Method Detail
-
setDBParameterGroupName
public void setDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
dBParameterGroupName
- The name of the DB parameter group.Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
getDBParameterGroupName
public String getDBParameterGroupName()
The name of the DB parameter group.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- The name of the DB parameter group.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
withDBParameterGroupName
public ResetDBParameterGroupRequest withDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
dBParameterGroupName
- The name of the DB parameter group.Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResetAllParameters
public void setResetAllParameters(Boolean resetAllParameters)
Specifies whether (
true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
- Parameters:
resetAllParameters
- Specifies whether (true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
-
getResetAllParameters
public Boolean getResetAllParameters()
Specifies whether (
true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
- Returns:
- Specifies whether (
true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
-
withResetAllParameters
public ResetDBParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
Specifies whether (
true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
- Parameters:
resetAllParameters
- Specifies whether (true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isResetAllParameters
public Boolean isResetAllParameters()
Specifies whether (
true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
- Returns:
- Specifies whether (
true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
-
getParameters
public List<Parameter> getParameters()
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.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
- Returns:
- 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.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
-
setParameters
public void setParameters(Collection<Parameter> 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.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
- Parameters:
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.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
-
withParameters
public ResetDBParameterGroupRequest withParameters(Parameter... 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.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
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
orwithParameters(java.util.Collection)
if you want to override the existing values.- Parameters:
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.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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameters
public ResetDBParameterGroupRequest withParameters(Collection<Parameter> 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.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
- Parameters:
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.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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ResetDBParameterGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-