@Generated(value="software.amazon.awssdk:codegen") public final 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.
|
List<Parameter> |
parameters()
To reset the entire DB parameter group, specify the
DBParameterGroup name and
ResetAllParameters parameters. |
Boolean |
resetAllParameters()
A value that indicates whether to reset all parameters in the DB parameter group to default values.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResetDbParameterGroupRequest.Builder> |
serializableBuilderClass() |
ResetDbParameterGroupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final Boolean resetAllParameters()
A value that indicates whether to reset all parameters in the DB parameter group to default values. By default, all parameters in the DB parameter group are reset to default values.
public final boolean hasParameters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameters() method.
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()
toBuilder in interface ToCopyableBuilder<ResetDbParameterGroupRequest.Builder,ResetDbParameterGroupRequest>toBuilder in class RdsRequestpublic static ResetDbParameterGroupRequest.Builder builder()
public static Class<? extends ResetDbParameterGroupRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.