@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CookieNames extends Object implements Serializable, Cloneable
Contains a list of cookie names.
Constructor and Description |
---|
CookieNames() |
Modifier and Type | Method and Description |
---|---|
CookieNames |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems()
A list of cookie names.
|
Integer |
getQuantity()
The number of cookie names in the
Items list. |
int |
hashCode() |
void |
setItems(Collection<String> items)
A list of cookie names.
|
void |
setQuantity(Integer quantity)
The number of cookie names in the
Items list. |
String |
toString()
Returns a string representation of this object.
|
CookieNames |
withItems(Collection<String> items)
A list of cookie names.
|
CookieNames |
withItems(String... items)
A list of cookie names.
|
CookieNames |
withQuantity(Integer quantity)
The number of cookie names in the
Items list. |
public void setQuantity(Integer quantity)
The number of cookie names in the Items
list.
quantity
- The number of cookie names in the Items
list.public Integer getQuantity()
The number of cookie names in the Items
list.
Items
list.public CookieNames withQuantity(Integer quantity)
The number of cookie names in the Items
list.
quantity
- The number of cookie names in the Items
list.public void setItems(Collection<String> items)
A list of cookie names.
items
- A list of cookie names.public CookieNames withItems(String... items)
A list of cookie names.
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
- A list of cookie names.public CookieNames withItems(Collection<String> items)
A list of cookie names.
items
- A list of cookie names.public String toString()
toString
in class Object
Object.toString()
public CookieNames clone()