public class CachedMethods extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
CachedMethods() |
| Modifier and Type | Method and Description |
|---|---|
CachedMethods |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems() |
Integer |
getQuantity() |
int |
hashCode() |
void |
setItems(Collection<String> items) |
void |
setQuantity(Integer quantity) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CachedMethods |
withItems(Collection<String> items) |
CachedMethods |
withItems(Method... items) |
CachedMethods |
withItems(String... items)
NOTE: This method appends the values to the existing list (if
any).
|
CachedMethods |
withQuantity(Integer quantity) |
public void setQuantity(Integer quantity)
quantity - public Integer getQuantity()
public CachedMethods withQuantity(Integer quantity)
quantity - public void setItems(Collection<String> items)
items - Methodpublic CachedMethods withItems(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 - Methodpublic CachedMethods withItems(Collection<String> items)
items - Methodpublic CachedMethods withItems(Method... items)
items - Methodpublic String toString()
toString in class ObjectObject.toString()public CachedMethods clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.