public CreateFlowLogsRequest withResourceType(String resourceType) {
        setResourceType(resourceType);
        return this;
    }
<p>
The type of resource to monitor.
</p>

@param resourceType
       The type of resource to monitor.
@return Returns a reference to this object so that method calls can be chained together.
@see FlowLogsResourceType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateFlowLogsRequest.java