Interface DataSourceBuilder
-
- All Superinterfaces:
Buildable.Builder<DataSourceBuilder,DataSource>
- All Known Implementing Classes:
SaharaDataSource.ConcreteDataSourceBuilder
public interface DataSourceBuilder extends Buildable.Builder<DataSourceBuilder,DataSource>
Builder interface used forDataSourceobject.- Author:
- ekasit.kijsipongse@nectec.or.th, siwat.pru@outlook.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSourceBuildercredentials(String user, String password)DataSourceBuilderdescription(String description)DataSourceBuildername(String name)DataSourceBuildertype(String type)DataSourceBuilderurl(String url)-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
description
DataSourceBuilder description(String description)
- Parameters:
description- the description of the data source- Returns:
- DataSourceBuilder
-
url
DataSourceBuilder url(String url)
- Parameters:
url- the URL of the data source- Returns:
- DataSourceBuilder
-
type
DataSourceBuilder type(String type)
- Parameters:
type- the type of the data source- Returns:
- DataSourceBuilder
-
name
DataSourceBuilder name(String name)
- Parameters:
name- the name of the data source- Returns:
- DataSourceBuilder
-
credentials
DataSourceBuilder credentials(String user, String password)
- Parameters:
user- username of the credentialspassword- password of the credentials- Returns:
- DataSourceBuilder
-
-