@Generated(value="software.amazon.awssdk:codegen") public final class ResetDbParameterGroupRequest extends NeptuneRequest 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. |
List<SdkField<?>> |
sdkFields() |
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() |
overrideConfiguration
copy
public 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.
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.
Valid Values (for Apply method): pending-reboot
public ResetDbParameterGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResetDbParameterGroupRequest.Builder,ResetDbParameterGroupRequest>
toBuilder
in class NeptuneRequest
public static ResetDbParameterGroupRequest.Builder builder()
public static Class<? extends ResetDbParameterGroupRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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 SdkRequest
fieldName
- 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.