@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LineItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about a line item.
| Constructor and Description |
|---|
LineItem() |
| Modifier and Type | Method and Description |
|---|---|
LineItem |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogItemId()
The ID of the catalog item.
|
String |
getLineItemId()
The ID of the line item.
|
Integer |
getQuantity()
The quantity of the line item.
|
String |
getStatus()
The status of the line item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCatalogItemId(String catalogItemId)
The ID of the catalog item.
|
void |
setLineItemId(String lineItemId)
The ID of the line item.
|
void |
setQuantity(Integer quantity)
The quantity of the line item.
|
void |
setStatus(String status)
The status of the line item.
|
String |
toString()
Returns a string representation of this object.
|
LineItem |
withCatalogItemId(String catalogItemId)
The ID of the catalog item.
|
LineItem |
withLineItemId(String lineItemId)
The ID of the line item.
|
LineItem |
withQuantity(Integer quantity)
The quantity of the line item.
|
LineItem |
withStatus(String status)
The status of the line item.
|
public void setCatalogItemId(String catalogItemId)
The ID of the catalog item.
catalogItemId - The ID of the catalog item.public String getCatalogItemId()
The ID of the catalog item.
public LineItem withCatalogItemId(String catalogItemId)
The ID of the catalog item.
catalogItemId - The ID of the catalog item.public void setLineItemId(String lineItemId)
The ID of the line item.
lineItemId - The ID of the line item.public String getLineItemId()
The ID of the line item.
public LineItem withLineItemId(String lineItemId)
The ID of the line item.
lineItemId - The ID of the line item.public void setQuantity(Integer quantity)
The quantity of the line item.
quantity - The quantity of the line item.public Integer getQuantity()
The quantity of the line item.
public LineItem withQuantity(Integer quantity)
The quantity of the line item.
quantity - The quantity of the line item.public void setStatus(String status)
The status of the line item.
status - The status of the line item.public String getStatus()
The status of the line item.
public LineItem withStatus(String status)
The status of the line item.
status - The status of the line item.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.