|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.KeyValue
public class KeyValue
| Constructor Summary | |
|---|---|
KeyValue()
|
|
| Method Summary | |
|---|---|
String |
getKey()
The key that is paired with a value in a KeyValue pair. |
String |
getValue()
The value paired with a key in a KeyValue pair. |
void |
setKey(String key)
The key that is paired with a value in a KeyValue pair. |
void |
setValue(String value)
The value paired with a key in a KeyValue pair. |
String |
toString()
|
KeyValue |
withKey(String key)
The key that is paired with a value in a KeyValue pair. |
KeyValue |
withValue(String value)
The value paired with a key in a KeyValue pair. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyValue()
| Method Detail |
|---|
public String getKey()
public void setKey(String key)
key - The key that is paired with a value in a KeyValue pair.public KeyValue withKey(String key)
Returns a reference to this object so that method calls can be chained together.
key - The key that is paired with a value in a KeyValue pair.
public String getValue()
public void setValue(String value)
value - The value paired with a key in a KeyValue pair.public KeyValue withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value - The value paired with a key in a KeyValue pair.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||