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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnReportGroup.Builder
deleteReports
(Boolean deleteReports) When deleting a report group, specifies if reports within the report group should be deleted.deleteReports
(IResolvable deleteReports) When deleting a report group, specifies if reports within the report group should be deleted.exportConfig
(IResolvable exportConfig) Information about the destination where the raw data of thisReportGroup
is exported.exportConfig
(CfnReportGroup.ReportExportConfigProperty exportConfig) Information about the destination where the raw data of thisReportGroup
is exported.The name of theReportGroup
.A list of tag key and value pairs associated with this report group.The type of theReportGroup
.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnReportGroup.Builder
.
-
exportConfig
Information about the destination where the raw data of thisReportGroup
is exported.- Parameters:
exportConfig
- Information about the destination where the raw data of thisReportGroup
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 thisReportGroup
is exported.- Parameters:
exportConfig
- Information about the destination where the raw data of thisReportGroup
is exported. This parameter is required.- Returns:
this
-
type
The type of theReportGroup
. 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 theReportGroup
. This can be one of the following values:. This parameter is required.- Returns:
this
-
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
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
The name of theReportGroup
.- Parameters:
name
- The name of theReportGroup
. This parameter is required.- Returns:
this
-
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReportGroup>
- Returns:
- a newly built instance of
CfnReportGroup
.
-