Hey Harman, you can create object of WebDriverWait class by giving web_driver and wait_time as input parameters. You can follow these lines of code to create a WebDriverWait object:
WebDriver driver = new ChromeDriver();
driver.get("https://www.google.com");
WebElement element = driver.findElement(By.id("id"));
WebDriverWait wait = new WebDriverWait(driver,30);
// Wait until element to be clickable on page
wait.until(ExpectedConditions.elementToBeClickable(element));