public class CacheBehaviors extends Object implements Serializable
A complex type that contains zero or more CacheBehavior elements.
Constructor and Description |
---|
CacheBehaviors() |
Modifier and Type | Method and Description |
---|---|
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 Integer getQuantity()
public void setQuantity(Integer quantity)
quantity
- The number of cache behaviors for this distribution.public CacheBehaviors withQuantity(Integer quantity)
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.