com.amazonaws.services.elasticache.model
Class ModifyCacheParameterGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.ModifyCacheParameterGroupRequest
All Implemented Interfaces:
Serializable

public class ModifyCacheParameterGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ModifyCacheParameterGroup operation.

The ModifyCacheParameterGroup operation 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.

See Also:
AmazonElastiCache.modifyCacheParameterGroup(ModifyCacheParameterGroupRequest), Serialized Form

Constructor Summary
ModifyCacheParameterGroupRequest()
          Default constructor for a new ModifyCacheParameterGroupRequest object.
ModifyCacheParameterGroupRequest(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues)
          Constructs a new ModifyCacheParameterGroupRequest object.
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyCacheParameterGroupRequest

public ModifyCacheParameterGroupRequest()
Default constructor for a new ModifyCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this 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

getCacheParameterGroupName

public String getCacheParameterGroupName()
The name of the cache parameter group to modify.

Returns:
The name of the cache parameter group to modify.

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.

withCacheParameterGroupName

public ModifyCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to modify.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheParameterGroupName - The name of the cache parameter group to modify.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.