Class CfnReportGroupProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • exportConfig

      @Stability(Stable) public CfnReportGroupProps.Builder exportConfig(IResolvable exportConfig)
      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 CfnReportGroupProps.Builder exportConfig(CfnReportGroup.ReportExportConfigProperty exportConfig)
      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 CfnReportGroupProps.Builder type(String type)
      Parameters:
      type - The type of the ReportGroup . This can be one of the following values:. This parameter is required.
      • CODE_COVERAGE - The report group contains code coverage reports.
      • TEST - The report group contains test reports.
      Returns:
      this
    • deleteReports

      @Stability(Stable) public CfnReportGroupProps.Builder deleteReports(Boolean deleteReports)
      Parameters:
      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.
      Returns:
      this
    • deleteReports

      @Stability(Stable) public CfnReportGroupProps.Builder deleteReports(IResolvable deleteReports)
      Parameters:
      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.
      Returns:
      this
    • name

      @Stability(Stable) public CfnReportGroupProps.Builder name(String name)
      Parameters:
      name - The name of the ReportGroup .
      Returns:
      this
    • tags

      @Stability(Stable) public CfnReportGroupProps.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      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.
      Returns:
      this
    • build

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