Class CfnReportGroup.Builder

java.lang.Object
software.amazon.awscdk.services.codebuild.CfnReportGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportGroup>
Enclosing class:
CfnReportGroup

@Stability(Stable) public static final class CfnReportGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnReportGroup>
A fluent builder for CfnReportGroup.
  • Method Details

    • create

      @Stability(Stable) public static CfnReportGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnReportGroup.Builder.
    • exportConfig

      @Stability(Stable) public CfnReportGroup.Builder exportConfig(IResolvable exportConfig)
      Information about the destination where the raw data of this ReportGroup is exported.

      Parameters:
      exportConfig - Information about the destination where the raw data of this ReportGroup is exported. This parameter is required.
      Returns:
      this
    • exportConfig

      @Stability(Stable) public CfnReportGroup.Builder exportConfig(CfnReportGroup.ReportExportConfigProperty exportConfig)
      Information about the destination where the raw data of this ReportGroup is exported.

      Parameters:
      exportConfig - Information about the destination where the raw data of this ReportGroup is exported. This parameter is required.
      Returns:
      this
    • type

      @Stability(Stable) public CfnReportGroup.Builder type(String type)
      The type of the ReportGroup . This can be one of the following values:.

      • CODE_COVERAGE - The report group contains code coverage reports.
      • TEST - The report group contains test reports.

      Parameters:
      type - The type of the ReportGroup . This can be one of the following values:. This parameter is required.
      Returns:
      this
    • deleteReports

      @Stability(Stable) public CfnReportGroup.Builder deleteReports(Boolean deleteReports)
      When deleting a report group, specifies if reports within the report group should be deleted.

      • true - Deletes any reports that belong to the report group before deleting the report group.
      • false - You must delete any reports in the report group. This is the default value. If you delete a report group that contains one or more reports, an exception is thrown.

      Parameters:
      deleteReports - When deleting a report group, specifies if reports within the report group should be deleted. This parameter is required.
      Returns:
      this
    • deleteReports

      @Stability(Stable) public CfnReportGroup.Builder deleteReports(IResolvable deleteReports)
      When deleting a report group, specifies if reports within the report group should be deleted.

      • true - Deletes any reports that belong to the report group before deleting the report group.
      • false - You must delete any reports in the report group. This is the default value. If you delete a report group that contains one or more reports, an exception is thrown.

      Parameters:
      deleteReports - When deleting a report group, specifies if reports within the report group should be deleted. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnReportGroup.Builder name(String name)
      The name of the ReportGroup .

      Parameters:
      name - The name of the ReportGroup . This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnReportGroup.Builder tags(List<? extends CfnTag> tags)
      A list of tag key and value pairs associated with this report group.

      These tags are available for use by AWS services that support AWS CodeBuild report group tags.

      Parameters:
      tags - A list of tag key and value pairs associated with this report group. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnReportGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnReportGroup>
      Returns:
      a newly built instance of CfnReportGroup.