Class PipelineBuilder
- java.lang.Object
-
- com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.PipelineBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class PipelineBuilder extends Object implements Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isSet$id$java$lang$Integer
protected boolean
isSet$sha$java$lang$String
protected boolean
isSet$status$java$lang$String
protected PipelineBuilder
self
protected Integer
value$id$java$lang$Integer
protected String
value$sha$java$lang$String
protected String
value$status$java$lang$String
-
Constructor Summary
Constructors Constructor Description PipelineBuilder()
Creates a newPipelineBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Pipeline
build()
Creates a newPipeline
based on this builder's settings.PipelineBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static PipelineBuilder
pipeline()
Factory Method to construct a PipelineBuilderPipelineBuilder
withId(Integer value)
Sets the default value for the id property.PipelineBuilder
withSha(String value)
Sets the default value for the sha property.PipelineBuilder
withStatus(String value)
Sets the default value for the status property.
-
-
-
Field Detail
-
self
protected PipelineBuilder self
-
value$id$java$lang$Integer
protected Integer value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
-
value$sha$java$lang$String
protected String value$sha$java$lang$String
-
isSet$sha$java$lang$String
protected boolean isSet$sha$java$lang$String
-
value$status$java$lang$String
protected String value$status$java$lang$String
-
isSet$status$java$lang$String
protected boolean isSet$status$java$lang$String
-
-
Constructor Detail
-
PipelineBuilder
public PipelineBuilder()
Creates a newPipelineBuilder
.
-
-
Method Detail
-
pipeline
public static PipelineBuilder pipeline()
Factory Method to construct a PipelineBuilder- Returns:
- a new PipelineBuilder
-
withId
public PipelineBuilder withId(Integer value)
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSha
public PipelineBuilder withSha(String value)
Sets the default value for the sha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withStatus
public PipelineBuilder withStatus(String value)
Sets the default value for the status property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public PipelineBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
-