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