Class Origins
java.lang.Object
com.amazonaws.services.cloudfront.model.Origins
- All Implemented Interfaces:
Serializable, Cloneable
A complex type that contains information about origins for this distribution.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetItems()A complex type that contains origins for this distribution.The number of origins for this distribution.inthashCode()voidsetItems(Collection<Origin> items) A complex type that contains origins for this distribution.voidsetQuantity(Integer quantity) The number of origins for this distribution.toString()Returns a string representation of this object; useful for testing and debugging.A complex type that contains origins for this distribution.withItems(Collection<Origin> items) A complex type that contains origins for this distribution.withQuantity(Integer quantity) The number of origins for this distribution.
-
Constructor Details
-
Origins
public Origins()
-
-
Method Details
-
setQuantity
The number of origins for this distribution.- Parameters:
quantity- The number of origins for this distribution.
-
getQuantity
The number of origins for this distribution.- Returns:
- The number of origins for this distribution.
-
withQuantity
-
getItems
-
setItems
A complex type that contains origins for this distribution.- Parameters:
items- A complex type that contains origins for this distribution.
-
withItems
A complex type that contains origins for this distribution.NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)orwithItems(java.util.Collection)if you want to override the existing values.- Parameters:
items- A complex type that contains origins for this distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
A complex type that contains origins for this distribution.- Parameters:
items- A complex type that contains origins for this distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-