Class Aliases
java.lang.Object
com.amazonaws.services.cloudfront.model.Aliases
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contains information about CNAMEs (alternate domain
names), if any, for this distribution.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getItems()
Optional: A complex type that contains CNAME elements, if any, for this distribution.The number of CNAMEs, if any, for this distribution.int
hashCode()
void
setItems
(Collection<String> items) Optional: A complex type that contains CNAME elements, if any, for this distribution.void
setQuantity
(Integer quantity) The number of CNAMEs, if any, for this distribution.toString()
Returns a string representation of this object; useful for testing and debugging.Optional: A complex type that contains CNAME elements, if any, for this distribution.withItems
(Collection<String> items) Optional: A complex type that contains CNAME elements, if any, for this distribution.withQuantity
(Integer quantity) The number of CNAMEs, if any, for this distribution.
-
Constructor Details
-
Aliases
public Aliases()
-
-
Method Details
-
setQuantity
The number of CNAMEs, if any, for this distribution.- Parameters:
quantity
- The number of CNAMEs, if any, for this distribution.
-
getQuantity
The number of CNAMEs, if any, for this distribution.- Returns:
- The number of CNAMEs, if any, for this distribution.
-
withQuantity
The number of CNAMEs, if any, for this distribution.- Parameters:
quantity
- The number of CNAMEs, if any, for this distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.- Returns:
- Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.
-
setItems
Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.- Parameters:
items
- Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.
-
withItems
Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.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
- Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.- Parameters:
items
- Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-