Class PipelineEventObjectAttributesBuilder
- java.lang.Object
-
- com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.PipelineEventObjectAttributesBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class PipelineEventObjectAttributesBuilder extends Object implements Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isSet$beforeSha$java$lang$String
protected boolean
isSet$createdAt$java$util$Date
protected boolean
isSet$duration$int
protected boolean
isSet$finishedAt$java$util$Date
protected boolean
isSet$id$java$lang$Integer
protected boolean
isSet$ref$java$lang$String
protected boolean
isSet$sha$java$lang$String
protected boolean
isSet$stages$java$util$List
protected boolean
isSet$status$java$lang$String
protected boolean
isSet$tag$boolean
protected PipelineEventObjectAttributesBuilder
self
protected String
value$beforeSha$java$lang$String
protected Date
value$createdAt$java$util$Date
protected int
value$duration$int
protected Date
value$finishedAt$java$util$Date
protected Integer
value$id$java$lang$Integer
protected String
value$ref$java$lang$String
protected String
value$sha$java$lang$String
protected List<String>
value$stages$java$util$List
protected String
value$status$java$lang$String
protected boolean
value$tag$boolean
-
Constructor Summary
Constructors Constructor Description PipelineEventObjectAttributesBuilder()
Creates a newPipelineEventObjectAttributesBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineEventObjectAttributes
build()
Creates a newPipelineEventObjectAttributes
based on this builder's settings.PipelineEventObjectAttributesBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static PipelineEventObjectAttributesBuilder
pipelineEventObjectAttributes()
Factory Method to construct a PipelineEventObjectAttributesBuilderPipelineEventObjectAttributesBuilder
withBeforeSha(String value)
Sets the default value for the beforeSha property.PipelineEventObjectAttributesBuilder
withCreatedAt(Date value)
Sets the default value for the createdAt property.PipelineEventObjectAttributesBuilder
withDuration(int value)
Sets the default value for the duration property.PipelineEventObjectAttributesBuilder
withFinishedAt(Date value)
Sets the default value for the finishedAt property.PipelineEventObjectAttributesBuilder
withId(Integer value)
Sets the default value for the id property.PipelineEventObjectAttributesBuilder
withRef(String value)
Sets the default value for the ref property.PipelineEventObjectAttributesBuilder
withSha(String value)
Sets the default value for the sha property.PipelineEventObjectAttributesBuilder
withStages(List<String> value)
Sets the default value for the stages property.PipelineEventObjectAttributesBuilder
withStatus(String value)
Sets the default value for the status property.PipelineEventObjectAttributesBuilder
withTag(boolean value)
Sets the default value for the tag property.
-
-
-
Field Detail
-
self
protected PipelineEventObjectAttributesBuilder self
-
value$ref$java$lang$String
protected String value$ref$java$lang$String
-
isSet$ref$java$lang$String
protected boolean isSet$ref$java$lang$String
-
value$tag$boolean
protected boolean value$tag$boolean
-
isSet$tag$boolean
protected boolean isSet$tag$boolean
-
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$beforeSha$java$lang$String
protected String value$beforeSha$java$lang$String
-
isSet$beforeSha$java$lang$String
protected boolean isSet$beforeSha$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
-
isSet$stages$java$util$List
protected boolean isSet$stages$java$util$List
-
value$createdAt$java$util$Date
protected Date value$createdAt$java$util$Date
-
isSet$createdAt$java$util$Date
protected boolean isSet$createdAt$java$util$Date
-
value$finishedAt$java$util$Date
protected Date value$finishedAt$java$util$Date
-
isSet$finishedAt$java$util$Date
protected boolean isSet$finishedAt$java$util$Date
-
value$duration$int
protected int value$duration$int
-
isSet$duration$int
protected boolean isSet$duration$int
-
value$id$java$lang$Integer
protected Integer value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
-
-
Constructor Detail
-
PipelineEventObjectAttributesBuilder
public PipelineEventObjectAttributesBuilder()
Creates a newPipelineEventObjectAttributesBuilder
.
-
-
Method Detail
-
pipelineEventObjectAttributes
public static PipelineEventObjectAttributesBuilder pipelineEventObjectAttributes()
Factory Method to construct a PipelineEventObjectAttributesBuilder- Returns:
- a new PipelineEventObjectAttributesBuilder
-
withRef
public PipelineEventObjectAttributesBuilder withRef(String value)
Sets the default value for the ref property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTag
public PipelineEventObjectAttributesBuilder withTag(boolean value)
Sets the default value for the tag property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSha
public PipelineEventObjectAttributesBuilder withSha(String value)
Sets the default value for the sha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withBeforeSha
public PipelineEventObjectAttributesBuilder withBeforeSha(String value)
Sets the default value for the beforeSha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withStatus
public PipelineEventObjectAttributesBuilder withStatus(String value)
Sets the default value for the status property.- Parameters:
value
- the default value- Returns:
- this builder
-
withStages
public PipelineEventObjectAttributesBuilder withStages(List<String> value)
Sets the default value for the stages property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCreatedAt
public PipelineEventObjectAttributesBuilder withCreatedAt(Date value)
Sets the default value for the createdAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withFinishedAt
public PipelineEventObjectAttributesBuilder withFinishedAt(Date value)
Sets the default value for the finishedAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDuration
public PipelineEventObjectAttributesBuilder withDuration(int value)
Sets the default value for the duration property.- Parameters:
value
- the default value- Returns:
- this builder
-
withId
public PipelineEventObjectAttributesBuilder withId(Integer value)
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public PipelineEventObjectAttributesBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
build
public PipelineEventObjectAttributes build()
Creates a newPipelineEventObjectAttributes
based on this builder's settings.- Returns:
- the created PipelineEventObjectAttributes
-
-