Class ParameterNameValue
java.lang.Object
com.amazonaws.services.elasticache.model.ParameterNameValue
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a name-value pair that is used to update the value of a parameter.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ParameterNameValue object.ParameterNameValue
(String parameterName) Constructs a new ParameterNameValue object.ParameterNameValue
(String parameterName, String parameterValue) Constructs a new ParameterNameValue object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the parameter.The value of the parameter.int
hashCode()
void
setParameterName
(String parameterName) The name of the parameter.void
setParameterValue
(String parameterValue) The value of the parameter.toString()
Returns a string representation of this object; useful for testing and debugging.withParameterName
(String parameterName) The name of the parameter.withParameterValue
(String parameterValue) The value of the parameter.
-
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
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
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
The name of the parameter.
- Parameters:
parameterName
- The name of the parameter.
-
getParameterName
The name of the parameter.
- Returns:
- The name of the parameter.
-
withParameterName
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
The value of the parameter.
- Parameters:
parameterValue
- The value of the parameter.
-
getParameterValue
The value of the parameter.
- Returns:
- The value of the parameter.
-
withParameterValue
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-