java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.ProjectBuilder
All Implemented Interfaces:
Cloneable

@Generated("PojoBuilder") public class ProjectBuilder extends Object implements Cloneable
  • Field Details

    • self

      protected ProjectBuilder 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$name$java$lang$String

      protected String value$name$java$lang$String
    • isSet$name$java$lang$String

      protected boolean isSet$name$java$lang$String
    • value$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace

      protected Namespace value$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace
    • isSet$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace

      protected boolean isSet$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace
    • value$webUrl$java$lang$String

      protected String value$webUrl$java$lang$String
    • isSet$webUrl$java$lang$String

      protected boolean isSet$webUrl$java$lang$String
    • value$sshUrlToRepo$java$lang$String

      protected String value$sshUrlToRepo$java$lang$String
    • isSet$sshUrlToRepo$java$lang$String

      protected boolean isSet$sshUrlToRepo$java$lang$String
    • value$httpUrlToRepo$java$lang$String

      protected String value$httpUrlToRepo$java$lang$String
    • isSet$httpUrlToRepo$java$lang$String

      protected boolean isSet$httpUrlToRepo$java$lang$String
  • Constructor Details

    • ProjectBuilder

      public ProjectBuilder()
      Creates a new ProjectBuilder.
  • Method Details

    • project

      public static ProjectBuilder project()
      Factory Method to construct a ProjectBuilder
      Returns:
      a new ProjectBuilder
    • withId

      public ProjectBuilder withId(Integer value)
      Sets the default value for the id property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withName

      public ProjectBuilder withName(String value)
      Sets the default value for the name property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withNamespace

      public ProjectBuilder withNamespace(Namespace value)
      Sets the default value for the namespace property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withWebUrl

      public ProjectBuilder withWebUrl(String value)
      Sets the default value for the webUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSshUrlToRepo

      public ProjectBuilder withSshUrlToRepo(String value)
      Sets the default value for the sshUrlToRepo property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withHttpUrlToRepo

      public ProjectBuilder withHttpUrlToRepo(String value)
      Sets the default value for the httpUrlToRepo 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 ProjectBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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