Class ResetCacheParameterGroupRequest

    • Constructor Detail

      • ResetCacheParameterGroupRequest

        public ResetCacheParameterGroupRequest()
        Default constructor for ResetCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • ResetCacheParameterGroupRequest

        public ResetCacheParameterGroupRequest​(String cacheParameterGroupName,
                                               List<ParameterNameValue> parameterNameValues)
        Constructs a new ResetCacheParameterGroupRequest 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 reset.
        parameterNameValues - An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
    • Method Detail

      • setCacheParameterGroupName

        public void setCacheParameterGroupName​(String cacheParameterGroupName)

        The name of the cache parameter group to reset.

        Parameters:
        cacheParameterGroupName - The name of the cache parameter group to reset.
      • getCacheParameterGroupName

        public String getCacheParameterGroupName()

        The name of the cache parameter group to reset.

        Returns:
        The name of the cache parameter group to reset.
      • withCacheParameterGroupName

        public ResetCacheParameterGroupRequest withCacheParameterGroupName​(String cacheParameterGroupName)

        The name of the cache parameter group to reset.

        Parameters:
        cacheParameterGroupName - The name of the cache parameter group to reset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResetAllParameters

        public void setResetAllParameters​(Boolean resetAllParameters)

        If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

        Parameters:
        resetAllParameters - If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

      • getResetAllParameters

        public Boolean getResetAllParameters()

        If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

        Returns:
        If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

      • withResetAllParameters

        public ResetCacheParameterGroupRequest withResetAllParameters​(Boolean resetAllParameters)

        If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

        Parameters:
        resetAllParameters - If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

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

        public Boolean isResetAllParameters()

        If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

        Returns:
        If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.

        Valid values: true | false

      • getParameterNameValues

        public List<ParameterNameValue> getParameterNameValues()

        An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.

        Returns:
        An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
      • setParameterNameValues

        public void setParameterNameValues​(Collection<ParameterNameValue> parameterNameValues)

        An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.

        Parameters:
        parameterNameValues - An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
      • withParameterNameValues

        public ResetCacheParameterGroupRequest withParameterNameValues​(ParameterNameValue... parameterNameValues)

        An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.

        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 to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withParameterNameValues

        public ResetCacheParameterGroupRequest withParameterNameValues​(Collection<ParameterNameValue> parameterNameValues)

        An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.

        Parameters:
        parameterNameValues - An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
        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