Interface ResetCacheParameterGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ResetCacheParameterGroupRequest.Builder,,ResetCacheParameterGroupRequest> ElastiCacheRequest.Builder,SdkBuilder<ResetCacheParameterGroupRequest.Builder,,ResetCacheParameterGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ResetCacheParameterGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptioncacheParameterGroupName(String cacheParameterGroupName) The name of the cache parameter group to reset.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameterNameValues(Collection<ParameterNameValue> parameterNameValues) An array of parameter names to reset to their default values.parameterNameValues(Consumer<ParameterNameValue.Builder>... parameterNameValues) An array of parameter names to reset to their default values.parameterNameValues(ParameterNameValue... parameterNameValues) An array of parameter names to reset to their default values.resetAllParameters(Boolean resetAllParameters) Iftrue, all parameters in the cache parameter group are reset to their default values.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cacheParameterGroupName
The name of the cache parameter group to reset.
- Parameters:
cacheParameterGroupName- The name of the cache parameter group to reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resetAllParameters
If
true, all parameters in the cache parameter group are reset to their default values. Iffalse, only the parameters listed byParameterNameValuesare reset to their default values.Valid values:
true|false- Parameters:
resetAllParameters- Iftrue, all parameters in the cache parameter group are reset to their default values. Iffalse, only the parameters listed byParameterNameValuesare reset to their default values.Valid values:
true|false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterNameValues
ResetCacheParameterGroupRequest.Builder parameterNameValues(Collection<ParameterNameValue> parameterNameValues) An array of parameter names to reset to their default values. If
ResetAllParametersistrue, do not useParameterNameValues. IfResetAllParametersisfalse, you must specify the name of at least one parameter to reset.- Parameters:
parameterNameValues- An array of parameter names to reset to their default values. IfResetAllParametersistrue, do not useParameterNameValues. IfResetAllParametersisfalse, you must specify the name of at least one parameter to reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterNameValues
ResetCacheParameterGroupRequest.Builder parameterNameValues(ParameterNameValue... parameterNameValues) An array of parameter names to reset to their default values. If
ResetAllParametersistrue, do not useParameterNameValues. IfResetAllParametersisfalse, you must specify the name of at least one parameter to reset.- Parameters:
parameterNameValues- An array of parameter names to reset to their default values. IfResetAllParametersistrue, do not useParameterNameValues. IfResetAllParametersisfalse, you must specify the name of at least one parameter to reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterNameValues
ResetCacheParameterGroupRequest.Builder parameterNameValues(Consumer<ParameterNameValue.Builder>... parameterNameValues) An array of parameter names to reset to their default values. If
This is a convenience method that creates an instance of theResetAllParametersistrue, do not useParameterNameValues. IfResetAllParametersisfalse, you must specify the name of at least one parameter to reset.ParameterNameValue.Builderavoiding the need to create one manually viaParameterNameValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameterNameValues(List<ParameterNameValue>).- Parameters:
parameterNameValues- a consumer that will call methods onParameterNameValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ResetCacheParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ResetCacheParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-