Interface ResetDbParameterGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ResetDbParameterGroupRequest.Builder,
,ResetDbParameterGroupRequest> NeptuneRequest.Builder
,SdkBuilder<ResetDbParameterGroupRequest.Builder,
,ResetDbParameterGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ResetDbParameterGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbParameterGroupName
(String dbParameterGroupName) The name of the DB parameter group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters
(Collection<Parameter> parameters) To reset the entire DB parameter group, specify theDBParameterGroup
name andResetAllParameters
parameters.parameters
(Consumer<Parameter.Builder>... parameters) To reset the entire DB parameter group, specify theDBParameterGroup
name andResetAllParameters
parameters.parameters
(Parameter... parameters) To reset the entire DB parameter group, specify theDBParameterGroup
name andResetAllParameters
parameters.resetAllParameters
(Boolean resetAllParameters) Specifies whether (true
) or not (false
) to reset all parameters in the DB parameter group to default values.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbParameterGroupName
The name of the DB parameter group.
Constraints:
-
Must match the name of an existing DBParameterGroup.
- Parameters:
dbParameterGroupName
- The name of the DB parameter group.Constraints:
-
Must match the name of an existing DBParameterGroup.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
resetAllParameters
Specifies whether (
true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
- Parameters:
resetAllParameters
- Specifies whether (true
) or not (false
) to reset all parameters in the DB parameter group to default values.Default:
true
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
To reset the entire DB parameter group, specify the
DBParameterGroup
name andResetAllParameters
parameters. To reset specific parameters, provide a list of the following:ParameterName
andApplyMethod
. A maximum of 20 parameters can be modified in a single request.Valid Values (for Apply method):
pending-reboot
- Parameters:
parameters
- To reset the entire DB parameter group, specify theDBParameterGroup
name andResetAllParameters
parameters. To reset specific parameters, provide a list of the following:ParameterName
andApplyMethod
. A maximum of 20 parameters can be modified in a single request.Valid Values (for Apply method):
pending-reboot
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
To reset the entire DB parameter group, specify the
DBParameterGroup
name andResetAllParameters
parameters. To reset specific parameters, provide a list of the following:ParameterName
andApplyMethod
. A maximum of 20 parameters can be modified in a single request.Valid Values (for Apply method):
pending-reboot
- Parameters:
parameters
- To reset the entire DB parameter group, specify theDBParameterGroup
name andResetAllParameters
parameters. To reset specific parameters, provide a list of the following:ParameterName
andApplyMethod
. A maximum of 20 parameters can be modified in a single request.Valid Values (for Apply method):
pending-reboot
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
To reset the entire DB parameter group, specify the
DBParameterGroup
name andResetAllParameters
parameters. To reset specific parameters, provide a list of the following:ParameterName
andApplyMethod
. A maximum of 20 parameters can be modified in a single request.Valid Values (for Apply method):
This is a convenience method that creates an instance of thepending-reboot
Parameter.Builder
avoiding the need to create one manually viaParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<Parameter>)
.- Parameters:
parameters
- a consumer that will call methods onParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ResetDbParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ResetDbParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-