public class Aliases extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Aliases() |
Modifier and Type | Method and Description |
---|---|
Aliases |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems()
Optional: A complex type that contains CNAME elements, if any, for this distribution.
|
Integer |
getQuantity()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Aliases |
withItems(Collection<String> items)
Optional: A complex type that contains CNAME elements, if any, for this distribution.
|
Aliases |
withItems(String... items)
Optional: A complex type that contains CNAME elements, if any, for this distribution.
|
Aliases |
withQuantity(Integer quantity)
The number of CNAMEs, if any, for this distribution.
|
public void setQuantity(Integer quantity)
quantity
- The number of CNAMEs, if any, for this distribution.public Integer getQuantity()
public Aliases withQuantity(Integer quantity)
quantity
- The number of CNAMEs, if any, for this distribution.public List<String> getItems()
public void setItems(Collection<String> items)
items
- Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0,
you can omit Items.public Aliases withItems(String... 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
- Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0,
you can omit Items.public Aliases withItems(Collection<String> items)
items
- Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0,
you can omit Items.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.