@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LineItemRequest extends Object implements Serializable, Cloneable, StructuredPojo
Information about a line item request.
Constructor and Description |
---|
LineItemRequest() |
Modifier and Type | Method and Description |
---|---|
LineItemRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogItemId()
The ID of the catalog item.
|
Integer |
getQuantity()
The quantity of a line item request.
|
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 |
setQuantity(Integer quantity)
The quantity of a line item request.
|
String |
toString()
Returns a string representation of this object.
|
LineItemRequest |
withCatalogItemId(String catalogItemId)
The ID of the catalog item.
|
LineItemRequest |
withQuantity(Integer quantity)
The quantity of a line item request.
|
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 LineItemRequest withCatalogItemId(String catalogItemId)
The ID of the catalog item.
catalogItemId
- The ID of the catalog item.public void setQuantity(Integer quantity)
The quantity of a line item request.
quantity
- The quantity of a line item request.public Integer getQuantity()
The quantity of a line item request.
public LineItemRequest withQuantity(Integer quantity)
The quantity of a line item request.
quantity
- The quantity of a line item request.public String toString()
toString
in class Object
Object.toString()
public LineItemRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.