public class ModifyCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyCacheParameterGroup operation
.
The ModifyCacheParameterGroup action 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.
NOOP
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 |
---|---|
ModifyCacheParameterGroupRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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)
NOTE: This method appends the values to the existing list (if
any). Use setParameterNameValues(java.util.Collection)
or
withParameterNameValues(java.util.Collection)
if you want to
override the existing values.
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()
public ModifyCacheParameterGroupRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.