public class LensConnectionBuilder extends Object
Constructor and Description |
---|
LensConnectionBuilder()
Instantiates a new lens connection builder.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public LensConnectionBuilder()
public LensConnectionBuilder baseUrl(String baseUrl)
baseUrl
- the base urlpublic LensConnectionBuilder database(String database)
database
- the databasepublic LensConnectionBuilder user(String user)
user
- the userpublic LensConnectionBuilder password(String password)
password
- the passwordpublic LensConnection build()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.