com.amazonaws.services.elasticmapreduce.model
Class KeyValue

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.KeyValue

public class KeyValue
extends Object

Key Value


Constructor Summary
KeyValue()
           
 
Method Summary
 String getKey()
          Returns the value of the Key property for this object.
 String getValue()
          Returns the value of the Value property for this object.
 void setKey(String key)
          Sets the value of the Key property for this object.
 void setValue(String value)
          Sets the value of the Value property for this object.
 KeyValue withKey(String key)
          Sets the value of the Key property for this object.
 KeyValue withValue(String value)
          Sets the value of the Value property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValue

public KeyValue()
Method Detail

getKey

public String getKey()
Returns the value of the Key property for this object.

Returns:
The value of the Key property for this object.

setKey

public void setKey(String key)
Sets the value of the Key property for this object.

Parameters:
key - The new value for the Key property for this object.

withKey

public KeyValue withKey(String key)
Sets the value of the Key property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
key - The new value for the Key property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getValue

public String getValue()
Returns the value of the Value property for this object.

Returns:
The value of the Value property for this object.

setValue

public void setValue(String value)
Sets the value of the Value property for this object.

Parameters:
value - The new value for the Value property for this object.

withValue

public KeyValue withValue(String value)
Sets the value of the Value property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
value - The new value for the Value property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.