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
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected PipelineEventObjectAttributesBuilder
protected String
protected Date
protected int
protected Date
protected Integer
protected String
protected String
protected String
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newPipelineEventObjectAttributes
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.Factory Method to construct a PipelineEventObjectAttributesBuilderwithBeforeSha
(String value) Sets the default value for the beforeSha property.withCreatedAt
(Date value) Sets the default value for the createdAt property.withDuration
(int value) Sets the default value for the duration property.withFinishedAt
(Date value) Sets the default value for the finishedAt property.Sets the default value for the id property.Sets the default value for the ref property.Sets the default value for the sha property.withStages
(List<String> value) Sets the default value for the stages property.withStatus
(String value) Sets the default value for the status property.withTag
(boolean value) Sets the default value for the tag property.
-
Field Details
-
self
-
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
-
isSet$sha$java$lang$String
protected boolean isSet$sha$java$lang$String -
value$beforeSha$java$lang$String
-
isSet$beforeSha$java$lang$String
protected boolean isSet$beforeSha$java$lang$String -
value$status$java$lang$String
-
isSet$status$java$lang$String
protected boolean isSet$status$java$lang$String -
value$stages$java$util$List
-
isSet$stages$java$util$List
protected boolean isSet$stages$java$util$List -
value$createdAt$java$util$Date
-
isSet$createdAt$java$util$Date
protected boolean isSet$createdAt$java$util$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
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
-
-
Constructor Details
-
PipelineEventObjectAttributesBuilder
public PipelineEventObjectAttributesBuilder()Creates a newPipelineEventObjectAttributesBuilder
.
-
-
Method Details
-
pipelineEventObjectAttributes
Factory Method to construct a PipelineEventObjectAttributesBuilder- Returns:
- a new PipelineEventObjectAttributesBuilder
-
withRef
Sets the default value for the ref property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTag
Sets the default value for the tag property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSha
Sets the default value for the sha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withBeforeSha
Sets the default value for the beforeSha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withStatus
Sets the default value for the status property.- Parameters:
value
- the default value- Returns:
- this builder
-
withStages
Sets the default value for the stages property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCreatedAt
Sets the default value for the createdAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withFinishedAt
Sets the default value for the finishedAt property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDuration
Sets the default value for the duration property.- Parameters:
value
- the default value- Returns:
- this builder
-
withId
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newPipelineEventObjectAttributes
based on this builder's settings.- Returns:
- the created PipelineEventObjectAttributes
-