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

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

    • self Link icon

      protected ProjectBuilder self
    • value$name$java$lang$String Link icon

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

      protected boolean isSet$name$java$lang$String
    • value$description$java$lang$String Link icon

      protected String value$description$java$lang$String
    • isSet$description$java$lang$String Link icon

      protected boolean isSet$description$java$lang$String
    • value$webUrl$java$lang$String Link icon

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

      protected boolean isSet$webUrl$java$lang$String
    • value$avatarUrl$java$lang$String Link icon

      protected String value$avatarUrl$java$lang$String
    • isSet$avatarUrl$java$lang$String Link icon

      protected boolean isSet$avatarUrl$java$lang$String
    • value$namespace$java$lang$String Link icon

      protected String value$namespace$java$lang$String
    • isSet$namespace$java$lang$String Link icon

      protected boolean isSet$namespace$java$lang$String
    • value$visibilityLevel$java$lang$Integer Link icon

      protected Integer value$visibilityLevel$java$lang$Integer
    • isSet$visibilityLevel$java$lang$Integer Link icon

      protected boolean isSet$visibilityLevel$java$lang$Integer
    • value$pathWithNamespace$java$lang$String Link icon

      protected String value$pathWithNamespace$java$lang$String
    • isSet$pathWithNamespace$java$lang$String Link icon

      protected boolean isSet$pathWithNamespace$java$lang$String
    • value$defaultBranch$java$lang$String Link icon

      protected String value$defaultBranch$java$lang$String
    • isSet$defaultBranch$java$lang$String Link icon

      protected boolean isSet$defaultBranch$java$lang$String
    • value$homepage$java$lang$String Link icon

      protected String value$homepage$java$lang$String
    • isSet$homepage$java$lang$String Link icon

      protected boolean isSet$homepage$java$lang$String
    • value$url$java$lang$String Link icon

      protected String value$url$java$lang$String
    • isSet$url$java$lang$String Link icon

      protected boolean isSet$url$java$lang$String
    • value$sshUrl$java$lang$String Link icon

      protected String value$sshUrl$java$lang$String
    • isSet$sshUrl$java$lang$String Link icon

      protected boolean isSet$sshUrl$java$lang$String
    • value$httpUrl$java$lang$String Link icon

      protected String value$httpUrl$java$lang$String
    • isSet$httpUrl$java$lang$String Link icon

      protected boolean isSet$httpUrl$java$lang$String
    • value$id$java$lang$Integer Link icon

      protected Integer value$id$java$lang$Integer
    • isSet$id$java$lang$Integer Link icon

      protected boolean isSet$id$java$lang$Integer
  • Constructor Details Link icon

    • ProjectBuilder Link icon

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

    • project Link icon

      public static ProjectBuilder project()
      Factory Method to construct a ProjectBuilder
      Returns:
      a new ProjectBuilder
    • withName Link icon

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

      public ProjectBuilder withDescription(String value)
      Sets the default value for the description property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withWebUrl Link icon

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

      public ProjectBuilder withAvatarUrl(String value)
      Sets the default value for the avatarUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withNamespace Link icon

      public ProjectBuilder withNamespace(String value)
      Sets the default value for the namespace property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withVisibilityLevel Link icon

      public ProjectBuilder withVisibilityLevel(Integer value)
      Sets the default value for the visibilityLevel property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withPathWithNamespace Link icon

      public ProjectBuilder withPathWithNamespace(String value)
      Sets the default value for the pathWithNamespace property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withDefaultBranch Link icon

      public ProjectBuilder withDefaultBranch(String value)
      Sets the default value for the defaultBranch property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withHomepage Link icon

      public ProjectBuilder withHomepage(String value)
      Sets the default value for the homepage property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUrl Link icon

      public ProjectBuilder withUrl(String value)
      Sets the default value for the url property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSshUrl Link icon

      public ProjectBuilder withSshUrl(String value)
      Sets the default value for the sshUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withHttpUrl Link icon

      public ProjectBuilder withHttpUrl(String value)
      Sets the default value for the httpUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withId Link icon

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

      @GwtIncompatible public Object clone()
      Returns a clone of this builder.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but Link icon

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

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