Did this page help you?

   Yes   No   Tell us about it...

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.

Modifies the parameters of a CacheParameterGroup. To modify more than one parameter, submit a list of ParameterName and ParameterValue parameters. A maximum of 20 parameters can be modified in a single request.

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, setRequestCredentials
 
Methods inherited from class java.lang.Object
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. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single 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. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request.

Returns:
An array of parameter names and values for the parameter update. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request.

setParameterNameValues

public void setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names and values for the parameter update. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request.

Parameters:
parameterNameValues - An array of parameter names and values for the parameter update. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request.

withParameterNameValues

public ModifyCacheParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names and values for the parameter update. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single 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. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single 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. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single 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. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.