Interface ModifyCacheParameterGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyCacheParameterGroupRequest.Builder,ModifyCacheParameterGroupRequest>
,ElastiCacheRequest.Builder
,SdkBuilder<ModifyCacheParameterGroupRequest.Builder,ModifyCacheParameterGroupRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyCacheParameterGroupRequest
public static interface ModifyCacheParameterGroupRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<ModifyCacheParameterGroupRequest.Builder,ModifyCacheParameterGroupRequest>
-
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
cacheParameterGroupName
ModifyCacheParameterGroupRequest.Builder cacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to modify.
- Parameters:
cacheParameterGroupName
- The name of the cache parameter group to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterNameValues
ModifyCacheParameterGroupRequest.Builder parameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.
- Parameters:
parameterNameValues
- An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterNameValues
ModifyCacheParameterGroupRequest.Builder parameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.
- Parameters:
parameterNameValues
- An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterNameValues
ModifyCacheParameterGroupRequest.Builder parameterNameValues(Consumer<ParameterNameValue.Builder>... parameterNameValues)
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.
This is a convenience method that creates an instance of theParameterNameValue.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
ModifyCacheParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyCacheParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-