Class ModifyCacheParameterGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a ModifyCacheParameterGroup action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ModifyCacheParameterGroupRequest object.ModifyCacheParameterGroupRequest
(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues) Constructs a new ModifyCacheParameterGroupRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the cache parameter group to modify.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheParameterGroupName
(String cacheParameterGroupName) The name of the cache parameter group to modify.withParameterNameValues
(ParameterNameValue... parameterNameValues) An array of parameter names and values for the parameter update.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 Details
-
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 Details
-
setCacheParameterGroupName
The name of the cache parameter group to modify.
- Parameters:
cacheParameterGroupName
- The name of the cache parameter group to modify.
-
getCacheParameterGroupName
The name of the cache parameter group to modify.
- Returns:
- The name of the cache parameter group to modify.
-
withCacheParameterGroupName
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-