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
@Stability(Stable) public static CfnReportGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
name
The name of theReportGroup
.- Parameters:
name
- The name of theReportGroup
. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReportGroup>
- Returns:
- a newly built instance of
CfnReportGroup
.
-