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 Details

    • 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 Details

  • Method Details

    • 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.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but

      @GwtIncompatible public PipelineBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

      public Pipeline build()
      Creates a new Pipeline based on this builder's settings.
      Returns:
      the created Pipeline