Class ModifyCacheParameterGroupRequest

    • 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) 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object