org.apache.lens.client
Class LensConnectionBuilder

java.lang.Object
  extended by org.apache.lens.client.LensConnectionBuilder

public class LensConnectionBuilder
extends Object

Top level builder class for lens connection.


Constructor Summary
LensConnectionBuilder()
          Instantiates a new lens connection builder.
 
Method Summary
 LensConnectionBuilder baseUrl(String baseUrl)
          Base url.
 LensConnection build()
          Builds the.
 LensConnectionBuilder database(String database)
          Database.
 LensConnectionBuilder password(String password)
          Password.
 LensConnectionBuilder user(String user)
          User.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LensConnectionBuilder

public LensConnectionBuilder()
Instantiates a new lens connection builder.

Method Detail

baseUrl

public LensConnectionBuilder baseUrl(String baseUrl)
Base url.

Parameters:
baseUrl - the base url
Returns:
the lens connection builder

database

public LensConnectionBuilder database(String database)
Database.

Parameters:
database - the database
Returns:
the lens connection builder

user

public LensConnectionBuilder user(String user)
User.

Parameters:
user - the user
Returns:
the lens connection builder

password

public LensConnectionBuilder password(String password)
Password.

Parameters:
password - the password
Returns:
the lens connection builder

build

public LensConnection build()
Builds the.

Returns:
the lens connection


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.