public class Aliases
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
items
Optional: A complex type that contains CNAME elements, if any, for this
distribution.
|
private java.lang.Integer |
quantity
The number of CNAMEs, if any, for this distribution.
|
Constructor and Description |
---|
Aliases() |
Modifier and Type | Method and Description |
---|---|
Aliases |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getItems()
Optional: A complex type that contains CNAME elements, if any, for this
distribution.
|
java.lang.Integer |
getQuantity()
The number of CNAMEs, if any, for this distribution.
|
int |
hashCode() |
void |
setItems(java.util.Collection<java.lang.String> items)
Optional: A complex type that contains CNAME elements, if any, for this
distribution.
|
void |
setQuantity(java.lang.Integer quantity)
The number of CNAMEs, if any, for this distribution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Aliases |
withItems(java.util.Collection<java.lang.String> items)
Optional: A complex type that contains CNAME elements, if any, for this
distribution.
|
Aliases |
withItems(java.lang.String... items)
Optional: A complex type that contains CNAME elements, if any, for this
distribution.
|
Aliases |
withQuantity(java.lang.Integer quantity)
The number of CNAMEs, if any, for this distribution.
|
private java.lang.Integer quantity
private SdkInternalList<java.lang.String> items
public void setQuantity(java.lang.Integer quantity)
quantity
- The number of CNAMEs, if any, for this distribution.public java.lang.Integer getQuantity()
public Aliases withQuantity(java.lang.Integer quantity)
quantity
- The number of CNAMEs, if any, for this distribution.public java.util.List<java.lang.String> getItems()
public void setItems(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Aliases clone()
clone
in class java.lang.Object