public CreateResourceGroupRequest withResourceGroupTags(java.util.Collection<ResourceGroupTag> resourceGroupTags) {
        setResourceGroupTags(resourceGroupTags);
        return this;
    }
<p>
A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
</p>
<p>
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
</p>

@param resourceGroupTags
       A collection of keys and an array of possible values,
       '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.</p>
       <p>
       For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/CreateResourceGroupRequest.java