|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.CacheBehaviors
public class CacheBehaviors
A complex type that contains zero or more CacheBehavior elements.
Constructor Summary | |
---|---|
CacheBehaviors()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CacheBehaviors()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |