@Generated(value="PojoBuilder") public class PipelineEventObjectAttributesBuilder extends Object implements Cloneable
Modifier and Type | Field and 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 and Description |
---|
PipelineEventObjectAttributesBuilder()
Creates a new
PipelineEventObjectAttributesBuilder . |
Modifier and Type | Method and Description |
---|---|
PipelineEventObjectAttributes |
build()
Creates a new
PipelineEventObjectAttributes 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 PipelineEventObjectAttributesBuilder
|
PipelineEventObjectAttributesBuilder |
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.
|
protected PipelineEventObjectAttributesBuilder self
protected String value$ref$java$lang$String
protected boolean isSet$ref$java$lang$String
protected boolean value$tag$boolean
protected boolean isSet$tag$boolean
protected String value$sha$java$lang$String
protected boolean isSet$sha$java$lang$String
protected String value$beforeSha$java$lang$String
protected boolean isSet$beforeSha$java$lang$String
protected String value$status$java$lang$String
protected boolean isSet$status$java$lang$String
protected boolean isSet$stages$java$util$List
protected Date value$createdAt$java$util$Date
protected boolean isSet$createdAt$java$util$Date
protected Date value$finishedAt$java$util$Date
protected boolean isSet$finishedAt$java$util$Date
protected int value$duration$int
protected boolean isSet$duration$int
protected Integer value$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
public PipelineEventObjectAttributesBuilder()
PipelineEventObjectAttributesBuilder
.public static PipelineEventObjectAttributesBuilder pipelineEventObjectAttributes()
public PipelineEventObjectAttributesBuilder withRef(String value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withTag(boolean value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withSha(String value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withBeforeSha(String value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withStatus(String value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withStages(List<String> value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withCreatedAt(Date value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withFinishedAt(Date value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withDuration(int value)
value
- the default valuepublic PipelineEventObjectAttributesBuilder withId(Integer value)
value
- the default value@GwtIncompatible public Object clone()
@GwtIncompatible public PipelineEventObjectAttributesBuilder but()
public PipelineEventObjectAttributes build()
PipelineEventObjectAttributes
based on this builder's settings.Copyright © 2016–2022. All rights reserved.