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:
  • 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

      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) or withParameterNameValues(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: