@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTagMapping extends Object implements Serializable, Cloneable, StructuredPojo
A list of resource ARNs and the tags (keys and values) that are associated with each.
Constructor and Description |
---|
ResourceTagMapping() |
Modifier and Type | Method and Description |
---|---|
ResourceTagMapping |
clone() |
boolean |
equals(Object obj) |
String |
getResourceARN()
An array of resource ARN(s).
|
List<Tag> |
getTags()
The tags that have been applied to one or more AWS resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceARN(String resourceARN)
An array of resource ARN(s).
|
void |
setTags(Collection<Tag> tags)
The tags that have been applied to one or more AWS resources.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceTagMapping |
withResourceARN(String resourceARN)
An array of resource ARN(s).
|
ResourceTagMapping |
withTags(Collection<Tag> tags)
The tags that have been applied to one or more AWS resources.
|
ResourceTagMapping |
withTags(Tag... tags)
The tags that have been applied to one or more AWS resources.
|
public void setResourceARN(String resourceARN)
An array of resource ARN(s).
resourceARN
- An array of resource ARN(s).public String getResourceARN()
An array of resource ARN(s).
public ResourceTagMapping withResourceARN(String resourceARN)
An array of resource ARN(s).
resourceARN
- An array of resource ARN(s).public List<Tag> getTags()
The tags that have been applied to one or more AWS resources.
public void setTags(Collection<Tag> tags)
The tags that have been applied to one or more AWS resources.
tags
- The tags that have been applied to one or more AWS resources.public ResourceTagMapping withTags(Tag... tags)
The tags that have been applied to one or more AWS resources.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags that have been applied to one or more AWS resources.public ResourceTagMapping withTags(Collection<Tag> tags)
The tags that have been applied to one or more AWS resources.
tags
- The tags that have been applied to one or more AWS resources.public String toString()
toString
in class Object
Object.toString()
public ResourceTagMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.