org.openstack4j.model.sahara.builder.JobExecutionBuilder Maven / Gradle / Ivy
package org.openstack4j.model.sahara.builder;
import org.openstack4j.common.Buildable.Builder;
import org.openstack4j.model.sahara.JobConfig;
import org.openstack4j.model.sahara.JobExecution;
/**
* Builder interface used for {@link JobExecution} object.
*
* @author [email protected]
* @author [email protected]
*/
public interface JobExecutionBuilder extends Builder {
/**
* See {@link JobExecution#getClusterId()}
*
* @param clusterId the cluster identifier
* @return JobExecutionBuilder
*/
JobExecutionBuilder clusterId(String clusterId);
/**
* See {@link JobExecution#getInputId()}
*
* @param inputId the input identifier
* @return JobExecutionBuilder
*/
JobExecutionBuilder inputId(String inputId);
/**
* See {@link JobExecution#getOutputId()}
*
* @param outputId the output identifier
* @return JobExecutionBuilder
*/
JobExecutionBuilder outputId(String outputId);
/**
* See {@link JobExecution#getJobConfigs()}
*
* @param jobConfig the job configuration
* @return JobExecutionBuilder
*/
JobExecutionBuilder setJobConfig(JobConfig jobConfig);
/**
* See {@link JobExecution#getJobId()}
*
* @param jobId the job identifier
* @return JobExecutionBuilder
*/
JobExecutionBuilder jobId(String jobId);
}