@Stability(value=Stable) public static final class ReportGroup.Builder extends Object implements software.amazon.jsii.Builder<ReportGroup>
ReportGroup.| Modifier and Type | Method and Description |
|---|---|
ReportGroup |
build() |
static ReportGroup.Builder |
create(software.constructs.Construct scope,
String id) |
ReportGroup.Builder |
exportBucket(IBucket exportBucket)
An optional S3 bucket to export the reports to.
|
ReportGroup.Builder |
removalPolicy(RemovalPolicy removalPolicy)
What to do when this resource is deleted from a stack.
|
ReportGroup.Builder |
reportGroupName(String reportGroupName)
The physical name of the report group.
|
ReportGroup.Builder |
type(ReportGroupType type)
The type of report group.
|
ReportGroup.Builder |
zipExport(Boolean zipExport)
Whether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export.
|
@Stability(value=Stable) public static ReportGroup.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ReportGroup.Builder.@Stability(value=Stable) public ReportGroup.Builder exportBucket(IBucket exportBucket)
Default: - the reports will not be exported
exportBucket - An optional S3 bucket to export the reports to. This parameter is required.this@Stability(value=Stable) public ReportGroup.Builder removalPolicy(RemovalPolicy removalPolicy)
As CodeBuild does not allow deleting a ResourceGroup that has reports inside of it, this is set to retain the resource by default.
Default: RemovalPolicy.RETAIN
removalPolicy - What to do when this resource is deleted from a stack. This parameter is required.this@Stability(value=Stable) public ReportGroup.Builder reportGroupName(String reportGroupName)
Default: - CloudFormation-generated name
reportGroupName - The physical name of the report group. This parameter is required.this@Stability(value=Stable) public ReportGroup.Builder type(ReportGroupType type)
Default: TEST
type - The type of report group. This can be one of the following values:. This parameter is required.this@Stability(value=Stable) public ReportGroup.Builder zipExport(Boolean zipExport)
Ignored if {@link exportBucket} has not been provided.
Default: - false (the files will not be ZIPped)
zipExport - Whether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export. This parameter is required.this@Stability(value=Stable) public ReportGroup build()
build in interface software.amazon.jsii.Builder<ReportGroup>Copyright © 2022. All rights reserved.