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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterNameValue()Default constructor for ParameterNameValue object.ParameterNameValue(String parameterName)Constructs a new ParameterNameValue object.ParameterNameValue(String parameterName, String parameterValue)Constructs a new ParameterNameValue object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterNameValueclone()booleanequals(Object obj)StringgetParameterName()The name of the parameter.StringgetParameterValue()The value of the parameter.inthashCode()voidsetParameterName(String parameterName)The name of the parameter.voidsetParameterValue(String parameterValue)The value of the parameter.StringtoString()Returns a string representation of this object; useful for testing and debugging.ParameterNameValuewithParameterName(String parameterName)The name of the parameter.ParameterNameValuewithParameterValue(String parameterValue)The value of the parameter.
-
-
-
Constructor Detail
-
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 Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ParameterNameValue clone()
-
-