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