Package io.github.cdklabs.projen.gitlab
Class CoverageReport.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.gitlab.CoverageReport.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CoverageReport>
- Enclosing interface:
- CoverageReport
@Stability(Experimental) public static final class CoverageReport.Builder extends Object implements software.amazon.jsii.Builder<CoverageReport>
A builder forCoverageReport
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoverageReportbuild()Builds the configured instance.CoverageReport.BuildercoverageFormat(String coverageFormat)Sets the value ofCoverageReport.getCoverageFormat()CoverageReport.Builderpath(String path)Sets the value ofCoverageReport.getPath()
-
-
-
Method Detail
-
coverageFormat
@Stability(Experimental) public CoverageReport.Builder coverageFormat(String coverageFormat)
Sets the value ofCoverageReport.getCoverageFormat()- Parameters:
coverageFormat- the value to be set. This parameter is required.- Returns:
this
-
path
@Stability(Experimental) public CoverageReport.Builder path(String path)
Sets the value ofCoverageReport.getPath()- Parameters:
path- the value to be set. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public CoverageReport build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CoverageReport>- Returns:
- a new instance of
CoverageReport - Throws:
NullPointerException- if any required attribute was not provided
-
-