@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStringKeyValuePair extends Object implements Serializable, Cloneable
Information about a key/value pair.
| Constructor and Description |
|---|
QueryStringKeyValuePair() |
| Modifier and Type | Method and Description |
|---|---|
QueryStringKeyValuePair |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key.
|
String |
getValue()
The value.
|
int |
hashCode() |
void |
setKey(String key)
The key.
|
void |
setValue(String value)
The value.
|
String |
toString()
Returns a string representation of this object.
|
QueryStringKeyValuePair |
withKey(String key)
The key.
|
QueryStringKeyValuePair |
withValue(String value)
The value.
|
public void setKey(String key)
The key. You can omit the key.
key - The key. You can omit the key.public String getKey()
The key. You can omit the key.
public QueryStringKeyValuePair withKey(String key)
The key. You can omit the key.
key - The key. You can omit the key.public void setValue(String value)
The value.
value - The value.public String getValue()
The value.
public QueryStringKeyValuePair withValue(String value)
The value.
value - The value.public String toString()
toString in class ObjectObject.toString()public QueryStringKeyValuePair clone()