|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.Origins
public class Origins
A complex type that contains information about origins for this distribution.
Constructor Summary | |
---|---|
Origins()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<Origin> |
getItems()
A complex type that contains origins for this distribution. |
Integer |
getQuantity()
The number of origins for this distribution. |
int |
hashCode()
|
void |
setItems(Collection<Origin> items)
A complex type that contains origins for this distribution. |
void |
setQuantity(Integer quantity)
The number of origins for this distribution. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Origins |
withItems(Collection<Origin> items)
A complex type that contains origins for this distribution. |
Origins |
withItems(Origin... items)
A complex type that contains origins for this distribution. |
Origins |
withQuantity(Integer quantity)
The number of origins for this distribution. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Origins()
Method Detail |
---|
public Integer getQuantity()
public void setQuantity(Integer quantity)
quantity
- The number of origins for this distribution.public Origins withQuantity(Integer quantity)
Returns a reference to this object so that method calls can be chained together.
quantity
- The number of origins for this distribution.
public List<Origin> getItems()
Constraints:
Length: 1 -
public void setItems(Collection<Origin> items)
Constraints:
Length: 1 -
items
- A complex type that contains origins for this distribution.public Origins withItems(Origin... items)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
items
- A complex type that contains origins for this distribution.
public Origins withItems(Collection<Origin> items)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
items
- A complex type that contains origins for this distribution.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |