All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.sahara.builder.DataSourceBuilder Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.model.sahara.builder;

import org.openstack4j.common.Buildable.Builder;
import org.openstack4j.model.sahara.DataSource;

/**
 * Builder interface used for {@link DataSource} object.
 * 
 * @author [email protected]
 * @author [email protected]
 */
public interface DataSourceBuilder extends Builder {

    /**
     * See {@link DataSource#getDescription()}
     * 
     * @param description the description of the data source
     * @return DataSourceBuilder
     */
    DataSourceBuilder description(String description);

    /**
     * See {@link DataSource#getURL()}
     * 
     * @param url the URL of the data source
     * @return DataSourceBuilder
     */
    DataSourceBuilder url(String url);

    /**
     * See {@link DataSource#getType()}
     * 
     * @param type the type of the data source
     * @return DataSourceBuilder
     */
    DataSourceBuilder type(String type);

    /**
     * See {@link DataSource#getName()}
     * 
     * @param name the name of the data source
     * @return DataSourceBuilder
     */
    DataSourceBuilder name(String name);

    /**
     * See {@link DataSource#getCredentials()}
     * 
     * @param user username of the credentials
     * @param password password of the credentials
     * @return DataSourceBuilder
     */
    DataSourceBuilder credentials(String user, String password);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy