public class ModifyCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable
ModifyCacheParameterGroup operation
.
The ModifyCacheParameterGroup operation modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
Constructor and Description |
---|
ModifyCacheParameterGroupRequest()
Default constructor for a new ModifyCacheParameterGroupRequest object.
|
ModifyCacheParameterGroupRequest(String cacheParameterGroupName,
List<ParameterNameValue> parameterNameValues)
Constructs a new ModifyCacheParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheParameterGroupName()
The name of the cache parameter group to modify.
|
List<ParameterNameValue> |
getParameterNameValues()
An array of parameter names and values for the parameter update.
|
int |
hashCode() |
void |
setCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to modify.
|
void |
setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names and values for the parameter update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyCacheParameterGroupRequest |
withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to modify.
|
ModifyCacheParameterGroupRequest |
withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names and values for the parameter update.
|
ModifyCacheParameterGroupRequest |
withParameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names and values for the parameter update.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public ModifyCacheParameterGroupRequest()
public ModifyCacheParameterGroupRequest(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues)
cacheParameterGroupName
- The name of the cache parameter group
to modify.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.public String getCacheParameterGroupName()
public void setCacheParameterGroupName(String cacheParameterGroupName)
cacheParameterGroupName
- The name of the cache parameter group to modify.public ModifyCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheParameterGroupName
- The name of the cache parameter group to modify.public List<ParameterNameValue> getParameterNameValues()
public void setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
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.public ModifyCacheParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues)
Returns a reference to this object so that method calls can be chained together.
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.public ModifyCacheParameterGroupRequest withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.