public class Origins extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
Origins() |
| Modifier and Type | Method and Description |
|---|---|
Origins |
clone() |
boolean |
equals(Object obj) |
List<Origin> |
getItems() |
Integer |
getQuantity() |
int |
hashCode() |
void |
setItems(Collection<Origin> items) |
void |
setQuantity(Integer quantity) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Origins |
withItems(Collection<Origin> items) |
Origins |
withItems(Origin... items)
NOTE: This method appends the values to the existing list (if
any).
|
Origins |
withQuantity(Integer quantity) |
public void setQuantity(Integer quantity)
quantity - public Integer getQuantity()
public Origins withQuantity(Integer quantity)
quantity - public void setItems(Collection<Origin> items)
items - public Origins withItems(Origin... items)
NOTE: This method appends the values to the existing list (if
any). Use setItems(java.util.Collection) or
withItems(java.util.Collection) if you want to override the
existing values.
items - public Origins withItems(Collection<Origin> items)
items - public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.