public ListTagsForResourceResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
<code>"TagKey" : "TagValue"</code>.
</p>
<ul>
<li>
<p>
Format example: <code>{"tag1" : "value1", "tag2" : "value2"} </code>
</p>
</li>
</ul>

@param tags
       Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
       <code>"TagKey" : "TagValue"</code>.</p>
       <ul>
       <li>
       <p>
       Format example: <code>{"tag1" : "value1", "tag2" : "value2"} </code>
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/ListTagsForResourceResult.java