Package io.github.cdklabs.projen.gitlab
Class Need.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.gitlab.Need.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Need.Builderartifacts(Boolean artifacts)Sets the value ofNeed.getArtifacts()Needbuild()Builds the configured instance.Need.Builderjob(String job)Sets the value ofNeed.getJob()Need.Builderoptional(Boolean optional)Sets the value ofNeed.getOptional()Need.Builderpipeline(String pipeline)Sets the value ofNeed.getPipeline()Need.Builderproject(String project)Sets the value ofNeed.getProject()Need.Builderref(String ref)Sets the value ofNeed.getRef()
-
-
-
Method Detail
-
job
@Stability(Experimental) public Need.Builder job(String job)
Sets the value ofNeed.getJob()- Parameters:
job- the value to be set. This parameter is required.- Returns:
this
-
artifacts
@Stability(Experimental) public Need.Builder artifacts(Boolean artifacts)
Sets the value ofNeed.getArtifacts()- Parameters:
artifacts- the value to be set.- Returns:
this
-
optional
@Stability(Experimental) public Need.Builder optional(Boolean optional)
Sets the value ofNeed.getOptional()- Parameters:
optional- the value to be set.- Returns:
this
-
pipeline
@Stability(Experimental) public Need.Builder pipeline(String pipeline)
Sets the value ofNeed.getPipeline()- Parameters:
pipeline- the value to be set.- Returns:
this
-
project
@Stability(Experimental) public Need.Builder project(String project)
Sets the value ofNeed.getProject()- Parameters:
project- the value to be set.- Returns:
this
-
ref
@Stability(Experimental) public Need.Builder ref(String ref)
Sets the value ofNeed.getRef()- Parameters:
ref- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public Need build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Need>- Returns:
- a new instance of
Need - Throws:
NullPointerException- if any required attribute was not provided
-
-