public class CacheBehaviors
extends java.lang.Object
implements java.io.Serializable
A complex type that contains zero or more CacheBehavior elements.
| コンストラクタと説明 |
|---|
CacheBehaviors() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<CacheBehavior> |
getItems()
Optional: A complex type that contains cache behaviors for this
distribution.
|
java.lang.Integer |
getQuantity()
The number of cache behaviors for this distribution.
|
int |
hashCode() |
void |
setItems(java.util.Collection<CacheBehavior> items)
Optional: A complex type that contains cache behaviors for this
distribution.
|
void |
setQuantity(java.lang.Integer quantity)
The number of cache behaviors for this distribution.
|
java.lang.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(java.util.Collection<CacheBehavior> items)
Optional: A complex type that contains cache behaviors for this
distribution.
|
CacheBehaviors |
withQuantity(java.lang.Integer quantity)
The number of cache behaviors for this distribution.
|
public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity - The number of cache behaviors for this distribution.public CacheBehaviors withQuantity(java.lang.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 java.util.List<CacheBehavior> getItems()
public void setItems(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object