@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Tags extends Object implements Serializable, Cloneable
A complex type that contains zero or more Tag
elements.
Constructor and Description |
---|
Tags() |
Modifier and Type | Method and Description |
---|---|
Tags |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getItems()
A complex type that contains
Tag elements. |
int |
hashCode() |
void |
setItems(Collection<Tag> items)
A complex type that contains
Tag elements. |
String |
toString()
Returns a string representation of this object.
|
Tags |
withItems(Collection<Tag> items)
A complex type that contains
Tag elements. |
Tags |
withItems(Tag... items)
A complex type that contains
Tag elements. |
public List<Tag> getItems()
A complex type that contains Tag
elements.
Tag
elements.public void setItems(Collection<Tag> items)
A complex type that contains Tag
elements.
items
- A complex type that contains Tag
elements.public Tags withItems(Tag... items)
A complex type that contains Tag
elements.
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 complex type that contains Tag
elements.public Tags withItems(Collection<Tag> items)
A complex type that contains Tag
elements.
items
- A complex type that contains Tag
elements.public String toString()
toString
in class Object
Object.toString()