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

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

package org.openstack4j.model.sahara.builder;

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

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

    /**
     * See {@link Job#getDescription()}
     * 
     * @param description the description of the job
     * @return JobBuilder
     */
    JobBuilder description(String description);

    /**
     * See {@link Job#getType()}
     * 
     * @param type the type of the job
     * @return JobBuilder
     */
    JobBuilder type(String type);

    /**
     * See {@link Job#getName()}
     * 
     * @param name the name of the job
     * @return JobBuilder
     */
    JobBuilder name(String name);

    /**
     * See {@link Job#getMainIds()}
     * 
     * @param id the id of the job binary
     * @return JobBuilder
     */
    JobBuilder setMain(String jobBinaryId);

    /**
     * See {@link Job#getLibId()}
     * 
     * @param name the name of the job
     * @return JobBuilder
     */
    JobBuilder addLibs(String jobBinaryId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy