public ListRuleGroupsRequest withManagedType(ResourceManagedType managedType) {
        this.managedType = managedType.toString();
        return this;
    }
<p>
Indicates the general category of the Amazon Web Services managed rule group.
</p>

@param managedType
       Indicates the general category of the Amazon Web Services managed rule group.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceManagedType
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/ListRuleGroupsRequest.java