public static interface ResetDBParameterGroupRequest.Builder extends RDSRequest.Builder, CopyableBuilder<ResetDBParameterGroupRequest.Builder,ResetDBParameterGroupRequest>
Modifier and Type | Method and Description |
---|---|
ResetDBParameterGroupRequest.Builder |
dbParameterGroupName(String dbParameterGroupName)
The name of the DB parameter group.
|
ResetDBParameterGroupRequest.Builder |
parameters(Collection<Parameter> parameters)
To reset the entire DB parameter group, specify the
DBParameterGroup name and
ResetAllParameters parameters. |
ResetDBParameterGroupRequest.Builder |
parameters(Consumer<Parameter.Builder>... parameters)
To reset the entire DB parameter group, specify the
DBParameterGroup name and
ResetAllParameters parameters. |
ResetDBParameterGroupRequest.Builder |
parameters(Parameter... parameters)
To reset the entire DB parameter group, specify the
DBParameterGroup name and
ResetAllParameters parameters. |
ResetDBParameterGroupRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ResetDBParameterGroupRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
ResetDBParameterGroupRequest.Builder |
resetAllParameters(Boolean resetAllParameters)
Specifies whether (
true ) or not (false ) to reset all parameters in the DB parameter
group to default values. |
build
requestOverrideConfig
copy
apply, build
ResetDBParameterGroupRequest.Builder dbParameterGroupName(String dbParameterGroupName)
The name of the DB parameter group.
Constraints:
Must match the name of an existing DBParameterGroup.
dbParameterGroupName
- The name of the DB parameter group.
Constraints:
Must match the name of an existing DBParameterGroup.
ResetDBParameterGroupRequest.Builder resetAllParameters(Boolean resetAllParameters)
Specifies whether (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
ResetDBParameterGroupRequest.Builder parameters(Collection<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
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
ResetDBParameterGroupRequest.Builder parameters(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
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
ResetDBParameterGroupRequest.Builder parameters(Consumer<Parameter.Builder>... 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
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #parameters(List)
.parameters
- a consumer that will call methods on List.Builder
#parameters(List)
ResetDBParameterGroupRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ResetDBParameterGroupRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.