@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Origins extends Object implements Serializable, Cloneable
Contains information about the origins for this distribution.
| Constructor and Description | 
|---|
Origins()  | 
| Modifier and Type | Method and Description | 
|---|---|
Origins | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<Origin> | 
getItems()
 A list of origins. 
 | 
Integer | 
getQuantity()
 The number of origins for this distribution. 
 | 
int | 
hashCode()  | 
void | 
setItems(Collection<Origin> items)
 A list of origins. 
 | 
void | 
setQuantity(Integer quantity)
 The number of origins for this distribution. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
Origins | 
withItems(Collection<Origin> items)
 A list of origins. 
 | 
Origins | 
withItems(Origin... items)
 A list of origins. 
 | 
Origins | 
withQuantity(Integer quantity)
 The number of origins for this distribution. 
 | 
public void setQuantity(Integer quantity)
The number of origins for this distribution.
quantity - The number of origins for this distribution.public Integer getQuantity()
The number of origins for this distribution.
public Origins withQuantity(Integer quantity)
The number of origins for this distribution.
quantity - The number of origins for this distribution.public void setItems(Collection<Origin> items)
A list of origins.
items - A list of origins.public Origins withItems(Origin... items)
A list of origins.
 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 - A list of origins.public Origins withItems(Collection<Origin> items)
A list of origins.
items - A list of origins.public String toString()
toString in class ObjectObject.toString()