@Stability(value=Experimental) 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)
(experimental) An optional S3 bucket to export the reports to.
|
ReportGroup.Builder |
removalPolicy(RemovalPolicy removalPolicy)
(experimental) What to do when this resource is deleted from a stack.
|
ReportGroup.Builder |
reportGroupName(String reportGroupName)
(experimental) The physical name of the report group.
|
ReportGroup.Builder |
zipExport(Boolean zipExport)
(experimental) Whether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export.
|
@Stability(value=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) public ReportGroup build()
build in interface software.amazon.jsii.Builder<ReportGroup>Copyright © 2021. All rights reserved.