Class Reports.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<Reports>
    Enclosing interface:
    Reports

    @Stability(Experimental)
    public static final class Reports.Builder
    extends Object
    implements software.amazon.jsii.Builder<Reports>
    A builder for Reports
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cobertura

        @Stability(Deprecated)
        @Deprecated
        public Reports.Builder cobertura​(List<String> cobertura)
        Deprecated.
        per {@link https://docs.gitlab.com/ee/update/deprecations.html#artifactsreportscobertura-keyword} use coverageReport instead
        Sets the value of Reports.getCobertura()
        Parameters:
        cobertura - Path for file(s) that should be parsed as Cobertura XML coverage report.
        Returns:
        this
      • codequality

        @Stability(Experimental)
        public Reports.Builder codequality​(List<String> codequality)
        Sets the value of Reports.getCodequality()
        Parameters:
        codequality - Path to file or list of files with code quality report(s) (such as Code Climate).
        Returns:
        this
      • containerScanning

        @Stability(Experimental)
        public Reports.Builder containerScanning​(List<String> containerScanning)
        Parameters:
        containerScanning - Path to file or list of files with Container scanning vulnerabilities report(s).
        Returns:
        this
      • dast

        @Stability(Experimental)
        public Reports.Builder dast​(List<String> dast)
        Sets the value of Reports.getDast()
        Parameters:
        dast - Path to file or list of files with DAST vulnerabilities report(s).
        Returns:
        this
      • dependencyScanning

        @Stability(Experimental)
        public Reports.Builder dependencyScanning​(List<String> dependencyScanning)
        Parameters:
        dependencyScanning - Path to file or list of files with Dependency scanning vulnerabilities report(s).
        Returns:
        this
      • dotenv

        @Stability(Experimental)
        public Reports.Builder dotenv​(List<String> dotenv)
        Sets the value of Reports.getDotenv()
        Parameters:
        dotenv - Path to file or list of files containing runtime-created variables for this job.
        Returns:
        this
      • junit

        @Stability(Experimental)
        public Reports.Builder junit​(List<String> junit)
        Sets the value of Reports.getJunit()
        Parameters:
        junit - Path for file(s) that should be parsed as JUnit XML result.
        Returns:
        this
      • licenseManagement

        @Stability(Experimental)
        public Reports.Builder licenseManagement​(List<String> licenseManagement)
        Parameters:
        licenseManagement - Deprecated in 12.8: Path to file or list of files with license report(s).
        Returns:
        this
      • lsif

        @Stability(Experimental)
        public Reports.Builder lsif​(List<String> lsif)
        Sets the value of Reports.getLsif()
        Parameters:
        lsif - Path to file or list of files containing code intelligence (Language Server Index Format).
        Returns:
        this
      • metrics

        @Stability(Experimental)
        public Reports.Builder metrics​(List<String> metrics)
        Sets the value of Reports.getMetrics()
        Parameters:
        metrics - Path to file or list of files with custom metrics report(s).
        Returns:
        this
      • performance

        @Stability(Experimental)
        public Reports.Builder performance​(List<String> performance)
        Sets the value of Reports.getPerformance()
        Parameters:
        performance - Path to file or list of files with performance metrics report(s).
        Returns:
        this
      • requirements

        @Stability(Experimental)
        public Reports.Builder requirements​(List<String> requirements)
        Sets the value of Reports.getRequirements()
        Parameters:
        requirements - Path to file or list of files with requirements report(s).
        Returns:
        this
      • sast

        @Stability(Experimental)
        public Reports.Builder sast​(List<String> sast)
        Sets the value of Reports.getSast()
        Parameters:
        sast - Path to file or list of files with SAST vulnerabilities report(s).
        Returns:
        this
      • secretDetection

        @Stability(Experimental)
        public Reports.Builder secretDetection​(List<String> secretDetection)
        Parameters:
        secretDetection - Path to file or list of files with secret detection report(s).
        Returns:
        this
      • build

        @Stability(Experimental)
        public Reports build()
        Builds the configured instance.
        Specified by:
        build in interface software.amazon.jsii.Builder<Reports>
        Returns:
        a new instance of Reports
        Throws:
        NullPointerException - if any required attribute was not provided