Class ParameterNameValue

java.lang.Object
com.amazonaws.services.elasticache.model.ParameterNameValue
All Implemented Interfaces:
Serializable, Cloneable

public class ParameterNameValue extends Object implements Serializable, Cloneable

Describes a name-value pair that is used to update the value of a parameter.

See Also:
  • Constructor Details

    • ParameterNameValue

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

      public ParameterNameValue(String parameterName)
      Constructs a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      parameterName - The name of the parameter.
    • ParameterNameValue

      public ParameterNameValue(String parameterName, String parameterValue)
      Constructs a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      parameterName - The name of the parameter.
      parameterValue - The value of the parameter.
  • Method Details

    • setParameterName

      public void setParameterName(String parameterName)

      The name of the parameter.

      Parameters:
      parameterName - The name of the parameter.
    • getParameterName

      public String getParameterName()

      The name of the parameter.

      Returns:
      The name of the parameter.
    • withParameterName

      public ParameterNameValue withParameterName(String parameterName)

      The name of the parameter.

      Parameters:
      parameterName - The name of the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setParameterValue

      public void setParameterValue(String parameterValue)

      The value of the parameter.

      Parameters:
      parameterValue - The value of the parameter.
    • getParameterValue

      public String getParameterValue()

      The value of the parameter.

      Returns:
      The value of the parameter.
    • withParameterValue

      public ParameterNameValue withParameterValue(String parameterValue)

      The value of the parameter.

      Parameters:
      parameterValue - The value of the parameter.
      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

      public ParameterNameValue clone()
      Overrides:
      clone in class Object