Interface JobBuilder
-
- All Superinterfaces:
Buildable.Builder<JobBuilder,Job>
- All Known Implementing Classes:
SaharaJob.ConcreteJobBuilder
public interface JobBuilder extends Buildable.Builder<JobBuilder,Job>
Builder interface used forJobobject.- Author:
- ekasit.kijsipongse@nectec.or.th, siwat.pru@outlook.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobBuilderaddLibs(String jobBinaryId)SeeJob#getLibId()JobBuilderdescription(String description)JobBuildername(String name)SeeJob.getName()JobBuildersetMain(String jobBinaryId)SeeJob#getMainIds()JobBuildertype(String type)SeeJob.getType()-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
description
JobBuilder description(String description)
- Parameters:
description- the description of the job- Returns:
- JobBuilder
-
type
JobBuilder type(String type)
SeeJob.getType()- Parameters:
type- the type of the job- Returns:
- JobBuilder
-
name
JobBuilder name(String name)
SeeJob.getName()- Parameters:
name- the name of the job- Returns:
- JobBuilder
-
setMain
JobBuilder setMain(String jobBinaryId)
SeeJob#getMainIds()- Parameters:
id- the id of the job binary- Returns:
- JobBuilder
-
addLibs
JobBuilder addLibs(String jobBinaryId)
SeeJob#getLibId()- Parameters:
name- the name of the job- Returns:
- JobBuilder
-
-