Class ModifyCacheParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.ModifyCacheParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ModifyCacheParameterGroup action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyCacheParameterGroupRequest()
Default constructor for ModifyCacheParameterGroupRequest object.ModifyCacheParameterGroupRequest(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues)
Constructs a new ModifyCacheParameterGroupRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(ParameterNameValue... parameterNameValues)
An array of parameter names and values for the parameter update.ModifyCacheParameterGroupRequest
withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names and values for the parameter update.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
ModifyCacheParameterGroupRequest
public ModifyCacheParameterGroupRequest()
Default constructor for ModifyCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ModifyCacheParameterGroupRequest
public ModifyCacheParameterGroupRequest(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues)
Constructs a new ModifyCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Detail
-
setCacheParameterGroupName
public void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to modify.
- Parameters:
cacheParameterGroupName
- The name of the cache parameter group to modify.
-
getCacheParameterGroupName
public String getCacheParameterGroupName()
The name of the cache parameter group to modify.
- Returns:
- The name of the cache parameter group to modify.
-
withCacheParameterGroupName
public ModifyCacheParameterGroupRequest withCacheParameterGroupName(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.
-
getParameterNameValues
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.
- Returns:
- 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.
-
setParameterNameValues
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.
- 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.
-
withParameterNameValues
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)
orwithParameterNameValues(java.util.Collection)
if you want to override the existing values.- 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.
-
withParameterNameValues
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.
- 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyCacheParameterGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-