Package io.github.cdklabs.projen.gitlab
Class Default.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.gitlab.Default.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
afterScript
@Stability(Experimental) public Default.Builder afterScript(List<String> afterScript)
Sets the value ofDefault.getAfterScript()- Parameters:
afterScript- the value to be set.- Returns:
this
-
artifacts
@Stability(Experimental) public Default.Builder artifacts(Artifacts artifacts)
Sets the value ofDefault.getArtifacts()- Parameters:
artifacts- the value to be set.- Returns:
this
-
beforeScript
@Stability(Experimental) public Default.Builder beforeScript(List<String> beforeScript)
Sets the value ofDefault.getBeforeScript()- Parameters:
beforeScript- the value to be set.- Returns:
this
-
cache
@Stability(Experimental) public Default.Builder cache(List<? extends Cache> cache)
Sets the value ofDefault.getCache()- Parameters:
cache- the value to be set.- Returns:
this
-
image
@Stability(Experimental) public Default.Builder image(Image image)
Sets the value ofDefault.getImage()- Parameters:
image- the value to be set.- Returns:
this
-
interruptible
@Stability(Experimental) public Default.Builder interruptible(Boolean interruptible)
Sets the value ofDefault.getInterruptible()- Parameters:
interruptible- the value to be set.- Returns:
this
-
retry
@Stability(Experimental) public Default.Builder retry(Retry retry)
Sets the value ofDefault.getRetry()- Parameters:
retry- the value to be set.- Returns:
this
-
services
@Stability(Experimental) public Default.Builder services(List<? extends Service> services)
Sets the value ofDefault.getServices()- Parameters:
services- the value to be set.- Returns:
this
-
tags
@Stability(Experimental) public Default.Builder tags(List<String> tags)
Sets the value ofDefault.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
timeout
@Stability(Experimental) public Default.Builder timeout(String timeout)
Sets the value ofDefault.getTimeout()- Parameters:
timeout- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public Default build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Default>- Returns:
- a new instance of
Default - Throws:
NullPointerException- if any required attribute was not provided
-
-