@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTags extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ResourceTags() |
Modifier and Type | Method and Description |
---|---|
ResourceTags |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ResourceTags |
clearTagsEntries()
Removes all the entries added into Tags.
|
ResourceTags |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the resource.
|
Map<String,String> |
getTags()
The tags for the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setTags(Map<String,String> tags)
The tags for the resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceTags |
withArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
ResourceTags |
withTags(Map<String,String> tags)
The tags for the resource.
|
public void setArn(String arn)
arn
- The Amazon Resource Name (ARN) of the resource.public String getArn()
public ResourceTags withArn(String arn)
arn
- The Amazon Resource Name (ARN) of the resource.public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- The tags for the resource.public ResourceTags withTags(Map<String,String> tags)
tags
- The tags for the resource.public ResourceTags addTagsEntry(String key, String value)
public ResourceTags clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ResourceTags clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.