public static class SaharaDataSource.ConcreteDataSourceBuilder extends Object implements DataSourceBuilder
| Modifier and Type | Method and Description |
|---|---|
DataSource |
build()
Creates and return the Model Entity M
|
DataSourceBuilder |
credentials(String user,
String password)
|
DataSourceBuilder |
description(String description)
|
DataSourceBuilder |
from(DataSource in)
Creates a Builder using the param M as the default values
|
DataSourceBuilder |
name(String name)
|
DataSourceBuilder |
type(String type)
|
DataSourceBuilder |
url(String url)
|
public DataSourceBuilder description(String description)
DataSourceBuilderdescription in interface DataSourceBuilderdescription - the description of the data sourcepublic DataSourceBuilder url(String url)
DataSourceBuilderurl in interface DataSourceBuilderurl - the URL of the data sourcepublic DataSourceBuilder type(String type)
DataSourceBuildertype in interface DataSourceBuildertype - the type of the data sourcepublic DataSourceBuilder name(String name)
DataSourceBuildername in interface DataSourceBuildername - the name of the data sourcepublic DataSourceBuilder credentials(String user, String password)
DataSourceBuildercredentials in interface DataSourceBuilderuser - username of the credentialspassword - password of the credentialspublic DataSource build()
Buildable.Builderbuild in interface Buildable.Builder<DataSourceBuilder,DataSource>public DataSourceBuilder from(DataSource in)
Buildable.Builderfrom in interface Buildable.Builder<DataSourceBuilder,DataSource>Copyright © 2017. All rights reserved.