public ListTagsForResourceResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag
consists of a key/value pair.
</p>

@param tags
       Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each
       tag consists of a key/value pair.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/ListTagsForResourceResult.java