@Generated(value="software.amazon.awssdk:codegen") public class ResetDBParameterGroupRequest extends RDSRequest implements ToCopyableBuilder<ResetDBParameterGroupRequest.Builder,ResetDBParameterGroupRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResetDBParameterGroupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResetDBParameterGroupRequest.Builder |
builder() |
String |
dbParameterGroupName()
The name of the DB parameter group.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
List<Parameter> |
parameters()
To reset the entire DB parameter group, specify the
DBParameterGroup name and
ResetAllParameters parameters. |
Boolean |
resetAllParameters()
Specifies whether (
true) or not (false) to reset all parameters in the DB parameter
group to default values. |
static Class<? extends ResetDBParameterGroupRequest.Builder> |
serializableBuilderClass() |
ResetDBParameterGroupRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfigcopypublic String dbParameterGroupName()
The name of the DB parameter group.
Constraints:
Must match the name of an existing DBParameterGroup.
Constraints:
Must match the name of an existing DBParameterGroup.
public Boolean resetAllParameters()
Specifies whether (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> 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
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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 ResetDBParameterGroupRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ResetDBParameterGroupRequest.Builder,ResetDBParameterGroupRequest>toBuilder in class RDSRequestpublic static ResetDBParameterGroupRequest.Builder builder()
public static Class<? extends ResetDBParameterGroupRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.