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 ModifyCacheParameterGroupRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCacheParameterGroupName()The name of the cache parameter group to modify.List<ParameterNameValue>getParameterNameValues()An array of parameter names and values for the parameter update.inthashCode()voidsetCacheParameterGroupName(String cacheParameterGroupName)The name of the cache parameter group to modify.voidsetParameterNameValues(Collection<ParameterNameValue> parameterNameValues)An array of parameter names and values for the parameter update.StringtoString()Returns a string representation of this object; useful for testing and debugging.ModifyCacheParameterGroupRequestwithCacheParameterGroupName(String cacheParameterGroupName)The name of the cache parameter group to modify.ModifyCacheParameterGroupRequestwithParameterNameValues(ParameterNameValue... parameterNameValues)An array of parameter names and values for the parameter update.ModifyCacheParameterGroupRequestwithParameterNameValues(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyCacheParameterGroupRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-