public void setTags(java.util.Map<String, String> tags) {
        this.tags = tags;
    }
<p>
The tags attached to the resource.
</p>

@param tags
       The tags attached to the resource.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/Resource.java