@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterNameValue extends Object implements Serializable, Cloneable
Describes a name-value pair that is used to update the value of a parameter.
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
ParameterNameValue |
clone() |
boolean |
equals(Object obj) |
String |
getParameterName()
The name of the parameter.
|
String |
getParameterValue()
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.
|
String |
toString()
Returns a string representation of this object.
|
ParameterNameValue |
withParameterName(String parameterName)
The name of the parameter.
|
ParameterNameValue |
withParameterValue(String parameterValue)
The value of the parameter.
|
public ParameterNameValue()
public ParameterNameValue(String parameterName)
parameterName - The name of the parameter.public ParameterNameValue(String parameterName, String parameterValue)
parameterName - The name of the parameter.parameterValue - The value of the parameter.public void setParameterName(String parameterName)
The name of the parameter.
parameterName - The name of the parameter.public String getParameterName()
The name of the parameter.
public ParameterNameValue withParameterName(String parameterName)
The name of the parameter.
parameterName - The name of the parameter.public void setParameterValue(String parameterValue)
The value of the parameter.
parameterValue - The value of the parameter.public String getParameterValue()
The value of the parameter.
public ParameterNameValue withParameterValue(String parameterValue)
The value of the parameter.
parameterValue - The value of the parameter.public String toString()
toString in class ObjectObject.toString()public ParameterNameValue clone()