@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Aliases extends Object implements Serializable, Cloneable
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
Constructor and Description |
---|
Aliases() |
Modifier and Type | Method and Description |
---|---|
Aliases |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems()
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
|
Integer |
getQuantity()
The number of CNAME aliases, if any, that you want to associate with this distribution.
|
int |
hashCode() |
void |
setItems(Collection<String> items)
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
|
void |
setQuantity(Integer quantity)
The number of CNAME aliases, if any, that you want to associate with this distribution.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Aliases |
withItems(Collection<String> items)
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
|
Aliases |
withItems(String... items)
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
|
Aliases |
withQuantity(Integer quantity)
The number of CNAME aliases, if any, that you want to associate with this distribution.
|
public void setQuantity(Integer quantity)
The number of CNAME aliases, if any, that you want to associate with this distribution.
quantity
- The number of CNAME aliases, if any, that you want to associate with this distribution.public Integer getQuantity()
The number of CNAME aliases, if any, that you want to associate with this distribution.
public Aliases withQuantity(Integer quantity)
The number of CNAME aliases, if any, that you want to associate with this distribution.
quantity
- The number of CNAME aliases, if any, that you want to associate with this distribution.public List<String> getItems()
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
public void setItems(Collection<String> items)
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
items
- A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.public Aliases withItems(String... items)
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
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 complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.public Aliases withItems(Collection<String> items)
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
items
- A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.