public static final class ReportGroupProps.Builder
extends java.lang.Object
ReportGroupProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReportGroupProps |
build()
Builds the configured instance.
|
ReportGroupProps.Builder |
exportBucket(IBucket exportBucket)
Sets the value of
ReportGroupProps.getExportBucket() |
ReportGroupProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
ReportGroupProps.getRemovalPolicy() |
ReportGroupProps.Builder |
reportGroupName(java.lang.String reportGroupName)
Sets the value of
ReportGroupProps.getReportGroupName() |
ReportGroupProps.Builder |
zipExport(java.lang.Boolean zipExport)
Sets the value of
ReportGroupProps.getZipExport() |
public ReportGroupProps.Builder exportBucket(IBucket exportBucket)
ReportGroupProps.getExportBucket()
exportBucket
- An optional S3 bucket to export the reports to.this
public ReportGroupProps.Builder removalPolicy(RemovalPolicy removalPolicy)
ReportGroupProps.getRemovalPolicy()
removalPolicy
- What to do when this resource is deleted from a stack.
As CodeBuild does not allow deleting a ResourceGroup that has reports inside of it,
this is set to retain the resource by default.this
public ReportGroupProps.Builder reportGroupName(java.lang.String reportGroupName)
ReportGroupProps.getReportGroupName()
reportGroupName
- The physical name of the report group.this
public ReportGroupProps.Builder zipExport(java.lang.Boolean zipExport)
ReportGroupProps.getZipExport()
zipExport
- Whether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export.
Ignored if {@link exportBucket} has not been provided.this
public ReportGroupProps build()
ReportGroupProps
java.lang.NullPointerException
- if any required attribute was not provided