Interface ResetCacheParameterGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ResetCacheParameterGroupRequest.Builder,ResetCacheParameterGroupRequest>
,ElastiCacheRequest.Builder
,SdkBuilder<ResetCacheParameterGroupRequest.Builder,ResetCacheParameterGroupRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ResetCacheParameterGroupRequest
public static interface ResetCacheParameterGroupRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<ResetCacheParameterGroupRequest.Builder,ResetCacheParameterGroupRequest>
-
-
Method Summary
-
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.elasticache.model.ElastiCacheRequest.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 Detail
-
cacheParameterGroupName
ResetCacheParameterGroupRequest.Builder cacheParameterGroupName(String 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
ResetCacheParameterGroupRequest.Builder resetAllParameters(Boolean resetAllParameters)
If
true
, all parameters in the cache parameter group are reset to their default values. Iffalse
, only the parameters listed byParameterNameValues
are 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 byParameterNameValues
are 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
ResetAllParameters
istrue
, do not useParameterNameValues
. IfResetAllParameters
isfalse
, 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. IfResetAllParameters
istrue
, do not useParameterNameValues
. IfResetAllParameters
isfalse
, 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
ResetAllParameters
istrue
, do not useParameterNameValues
. IfResetAllParameters
isfalse
, 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. IfResetAllParameters
istrue
, do not useParameterNameValues
. IfResetAllParameters
isfalse
, 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 theResetAllParameters
istrue
, do not useParameterNameValues
. IfResetAllParameters
isfalse
, you must specify the name of at least one parameter to reset.ParameterNameValue.Builder
avoiding the need to create one manually viaParameterNameValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#parameterNameValues(List
.) - 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:
#parameterNameValues(java.util.Collection
)
-
overrideConfiguration
ResetCacheParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ResetCacheParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-