public class ModifyCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ModifyCacheParameterGroup action.
NOOP| Constructor and Description |
|---|
ModifyCacheParameterGroupRequest()
Default constructor for ModifyCacheParameterGroupRequest object.
|
ModifyCacheParameterGroupRequest(String cacheParameterGroupName,
List<ParameterNameValue> parameterNameValues)
Constructs a new ModifyCacheParameterGroupRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyCacheParameterGroupRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to modify.
cacheParameterGroupName - The name of the cache parameter group to modify.public String getCacheParameterGroupName()
The name of the cache parameter group to modify.
public ModifyCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to modify.
cacheParameterGroupName - The name of the cache parameter group to modify.public List<ParameterNameValue> getParameterNameValues()
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 void setParameterNameValues(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.
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)
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.
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.
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)
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.
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 ObjectObject.toString()public ModifyCacheParameterGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.