public static interface ModifyDBParameterGroupRequest.Builder extends RDSRequest.Builder, CopyableBuilder<ModifyDBParameterGroupRequest.Builder,ModifyDBParameterGroupRequest>
Modifier and Type | Method and Description |
---|---|
ModifyDBParameterGroupRequest.Builder |
dbParameterGroupName(String dbParameterGroupName)
The name of the DB parameter group.
|
ModifyDBParameterGroupRequest.Builder |
parameters(Collection<Parameter> parameters)
An array of parameter names, values, and the apply method for the parameter update.
|
ModifyDBParameterGroupRequest.Builder |
parameters(Consumer<Parameter.Builder>... parameters)
An array of parameter names, values, and the apply method for the parameter update.
|
ModifyDBParameterGroupRequest.Builder |
parameters(Parameter... parameters)
An array of parameter names, values, and the apply method for the parameter update.
|
ModifyDBParameterGroupRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ModifyDBParameterGroupRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
ModifyDBParameterGroupRequest.Builder dbParameterGroupName(String dbParameterGroupName)
The name of the DB parameter group.
Constraints:
If supplied, must match the name of an existing DBParameterGroup.
dbParameterGroupName
- The name of the DB parameter group.
Constraints:
If supplied, must match the name of an existing DBParameterGroup.
ModifyDBParameterGroupRequest.Builder parameters(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.
Valid Values (for the application 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 you reboot the DB instance without failover.
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.
Valid Values (for the application 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 you reboot the DB instance without failover.
ModifyDBParameterGroupRequest.Builder parameters(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.
Valid Values (for the application 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 you reboot the DB instance without failover.
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.
Valid Values (for the application 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 you reboot the DB instance without failover.
ModifyDBParameterGroupRequest.Builder parameters(Consumer<Parameter.Builder>... 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.
Valid Values (for the application 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 you reboot the DB instance without failover.
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)
ModifyDBParameterGroupRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ModifyDBParameterGroupRequest.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.