com.amazonaws.a2s.model
Class MetaData

java.lang.Object
  extended by com.amazonaws.a2s.model.MetaData

public class MetaData
extends java.lang.Object

Java class for MetaData complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MetaData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String key
           
protected  java.lang.String value
           
 
Constructor Summary
MetaData()
           
 
Method Summary
 java.lang.String getKey()
          Gets the value of the key property.
 java.lang.String getValue()
          Gets the value of the value property.
 boolean isSetKey()
           
 boolean isSetValue()
           
 void setKey(java.lang.String value)
          Sets the value of the key property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 MetaData withKey(java.lang.String value)
          Sets the value of the Key property.
 MetaData withValue(java.lang.String value)
          Sets the value of the Value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected java.lang.String key

value

protected java.lang.String value
Constructor Detail

MetaData

public MetaData()
Method Detail

getKey

public java.lang.String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

public void setKey(java.lang.String value)
Sets the value of the key property.

Parameters:
value - allowed object is String

isSetKey

public boolean isSetKey()

getValue

public java.lang.String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

isSetValue

public boolean isSetValue()

withKey

public MetaData withKey(java.lang.String value)
Sets the value of the Key property.

Parameters:
value -
Returns:
this instance

withValue

public MetaData withValue(java.lang.String value)
Sets the value of the Value property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only