com.amazonaws.a2s.model
Class SimilarityLookupRequest

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

public class SimilarityLookupRequest
extends java.lang.Object

Java class for SimilarityLookupRequest complex type.

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

 <complexType name="SimilarityLookupRequest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Condition" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Condition" minOccurs="0"/>
         <element name="DeliveryMethod" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}DeliveryMethod" minOccurs="0"/>
         <element name="ItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ISPUPostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ResponseGroup" maxOccurs="unbounded" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Request"/>
               <enumeration value="Small"/>
               <enumeration value="Accessories"/>
               <enumeration value="BrowseNodes"/>
               <enumeration value="EditorialReview"/>
               <enumeration value="Images"/>
               <enumeration value="Large"/>
               <enumeration value="ItemAttributes"/>
               <enumeration value="ItemIds"/>
               <enumeration value="ListmaniaLists"/>
               <enumeration value="Medium"/>
               <enumeration value="Offers"/>
               <enumeration value="OfferSummary"/>
               <enumeration value="PromotionDetails"/>
               <enumeration value="PromotionSummary"/>
               <enumeration value="Reviews"/>
               <enumeration value="SalesRank"/>
               <enumeration value="Similarities"/>
               <enumeration value="Tracks"/>
               <enumeration value="VariationMinimum"/>
               <enumeration value="Variations"/>
               <enumeration value="VariationSummary"/>
             </restriction>
           </simpleType>
         </element>
         <element name="ReviewSort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="SimilarityType" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Intersection"/>
               <enumeration value="Random"/>
             </restriction>
           </simpleType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  Condition condition
           
protected  DeliveryMethod deliveryMethod
           
protected  java.lang.String ispuPostalCode
           
protected  java.util.List<java.lang.String> itemId
           
protected  java.lang.String merchantId
           
protected  java.util.List<java.lang.String> responseGroup
           
protected  java.lang.String reviewSort
           
protected  java.lang.String similarityType
           
 
Constructor Summary
SimilarityLookupRequest()
           
 
Method Summary
 Condition getCondition()
          Gets the value of the condition property.
 DeliveryMethod getDeliveryMethod()
          Gets the value of the deliveryMethod property.
 java.lang.String getISPUPostalCode()
          Gets the value of the ispuPostalCode property.
 java.util.List<java.lang.String> getItemId()
          Gets the value of the itemId property.
 java.lang.String getMerchantId()
          Gets the value of the merchantId property.
 java.util.List<java.lang.String> getResponseGroup()
          Gets the value of the responseGroup property.
 java.lang.String getReviewSort()
          Gets the value of the reviewSort property.
 java.lang.String getSimilarityType()
          Gets the value of the similarityType property.
 boolean isSetCondition()
           
 boolean isSetDeliveryMethod()
           
 boolean isSetISPUPostalCode()
           
 boolean isSetItemId()
           
 boolean isSetMerchantId()
           
 boolean isSetResponseGroup()
           
 boolean isSetReviewSort()
           
 boolean isSetSimilarityType()
           
 void setCondition(Condition value)
          Sets the value of the condition property.
 void setDeliveryMethod(DeliveryMethod value)
          Sets the value of the deliveryMethod property.
 void setISPUPostalCode(java.lang.String value)
          Sets the value of the ispuPostalCode property.
 void setItemId(java.util.List<java.lang.String> itemId)
          Sets the value of the itemId property.
 void setMerchantId(java.lang.String value)
          Sets the value of the merchantId property.
 void setResponseGroup(java.util.List<java.lang.String> responseGroup)
          Sets the value of the responseGroup property.
 void setReviewSort(java.lang.String value)
          Sets the value of the reviewSort property.
 void setSimilarityType(java.lang.String value)
          Sets the value of the similarityType property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetItemId()
           
 void unsetResponseGroup()
           
 SimilarityLookupRequest withCondition(Condition value)
          Sets the value of the Condition property.
 SimilarityLookupRequest withDeliveryMethod(DeliveryMethod value)
          Sets the value of the DeliveryMethod property.
 SimilarityLookupRequest withISPUPostalCode(java.lang.String value)
          Sets the value of the ISPUPostalCode property.
 SimilarityLookupRequest withItemId(java.lang.String... values)
          Sets the value of the ItemId property.
 SimilarityLookupRequest withMerchantId(java.lang.String value)
          Sets the value of the MerchantId property.
 SimilarityLookupRequest withResponseGroup(java.lang.String... values)
          Sets the value of the ResponseGroup property.
 SimilarityLookupRequest withReviewSort(java.lang.String value)
          Sets the value of the ReviewSort property.
 SimilarityLookupRequest withSimilarityType(java.lang.String value)
          Sets the value of the SimilarityType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

condition

protected Condition condition

deliveryMethod

protected DeliveryMethod deliveryMethod

itemId

protected java.util.List<java.lang.String> itemId

ispuPostalCode

protected java.lang.String ispuPostalCode

merchantId

protected java.lang.String merchantId

responseGroup

protected java.util.List<java.lang.String> responseGroup

reviewSort

protected java.lang.String reviewSort

similarityType

protected java.lang.String similarityType
Constructor Detail

SimilarityLookupRequest

public SimilarityLookupRequest()
Method Detail

getCondition

public Condition getCondition()
Gets the value of the condition property.

Returns:
possible object is Condition

setCondition

public void setCondition(Condition value)
Sets the value of the condition property.

Parameters:
value - allowed object is Condition

isSetCondition

public boolean isSetCondition()

getDeliveryMethod

public DeliveryMethod getDeliveryMethod()
Gets the value of the deliveryMethod property.

Returns:
possible object is DeliveryMethod

setDeliveryMethod

public void setDeliveryMethod(DeliveryMethod value)
Sets the value of the deliveryMethod property.

Parameters:
value - allowed object is DeliveryMethod

isSetDeliveryMethod

public boolean isSetDeliveryMethod()

getItemId

public java.util.List<java.lang.String> getItemId()
Gets the value of the itemId property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the itemId property.

For example, to add a new item, do as follows:

    getItemId().add(newItem);
 

Objects of the following type(s) are allowed in the list String


isSetItemId

public boolean isSetItemId()

unsetItemId

public void unsetItemId()

getISPUPostalCode

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

Returns:
possible object is String

setISPUPostalCode

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

Parameters:
value - allowed object is String

isSetISPUPostalCode

public boolean isSetISPUPostalCode()

getMerchantId

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

Returns:
possible object is String

setMerchantId

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

Parameters:
value - allowed object is String

isSetMerchantId

public boolean isSetMerchantId()

getResponseGroup

public java.util.List<java.lang.String> getResponseGroup()
Gets the value of the responseGroup property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the responseGroup property.

For example, to add a new item, do as follows:

    getResponseGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list String


isSetResponseGroup

public boolean isSetResponseGroup()

unsetResponseGroup

public void unsetResponseGroup()

getReviewSort

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

Returns:
possible object is String

setReviewSort

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

Parameters:
value - allowed object is String

isSetReviewSort

public boolean isSetReviewSort()

getSimilarityType

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

Returns:
possible object is String

setSimilarityType

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

Parameters:
value - allowed object is String

isSetSimilarityType

public boolean isSetSimilarityType()

withCondition

public SimilarityLookupRequest withCondition(Condition value)
Sets the value of the Condition property.

Parameters:
value -
Returns:
this instance

withDeliveryMethod

public SimilarityLookupRequest withDeliveryMethod(DeliveryMethod value)
Sets the value of the DeliveryMethod property.

Parameters:
value -
Returns:
this instance

withItemId

public SimilarityLookupRequest withItemId(java.lang.String... values)
Sets the value of the ItemId property.

Parameters:
values -
Returns:
this instance

withISPUPostalCode

public SimilarityLookupRequest withISPUPostalCode(java.lang.String value)
Sets the value of the ISPUPostalCode property.

Parameters:
value -
Returns:
this instance

withMerchantId

public SimilarityLookupRequest withMerchantId(java.lang.String value)
Sets the value of the MerchantId property.

Parameters:
value -
Returns:
this instance

withResponseGroup

public SimilarityLookupRequest withResponseGroup(java.lang.String... values)
Sets the value of the ResponseGroup property.

Parameters:
values -
Returns:
this instance

withReviewSort

public SimilarityLookupRequest withReviewSort(java.lang.String value)
Sets the value of the ReviewSort property.

Parameters:
value -
Returns:
this instance

withSimilarityType

public SimilarityLookupRequest withSimilarityType(java.lang.String value)
Sets the value of the SimilarityType property.

Parameters:
value -
Returns:
this instance

setItemId

public void setItemId(java.util.List<java.lang.String> itemId)
Sets the value of the itemId property.

Parameters:
itemId - allowed object is String

setResponseGroup

public void setResponseGroup(java.util.List<java.lang.String> responseGroup)
Sets the value of the responseGroup property.

Parameters:
responseGroup - allowed object is String

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