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

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

package org.openstack4j.model.sahara.builder;

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

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

    /**
     * See {@link JobConfig#getConfigs()}
     * 
     * @param name the name of the configuration
     * @param value the value of the configuration
     * @return JobConfigBuilder
     */
    JobConfigBuilder addConfig(String name, Object value);

    /**
     * See {@link JobConfig#getArgs()}
     * 
     * @param arg the argument
     * @return JobConfigBuilder
     */
    JobConfigBuilder addArg(Object arg);

    /**
     * See {@link JobConfig#getParams()}
     * 
     * @param param the name of the parameter
     * @param value the value of the parameter
     * @return JobConfigBuilder
     */
    JobConfigBuilder addParam(String param, Object value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy