Class CfnReportDefinitionProps.Builder
java.lang.Object
software.amazon.awscdk.services.cur.CfnReportDefinitionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportDefinitionProps>
- Enclosing interface:
CfnReportDefinitionProps
@Stability(Stable)
public static final class CfnReportDefinitionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportDefinitionProps>
A builder for
CfnReportDefinitionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalArtifacts
(List<String> additionalArtifacts) Sets the value ofCfnReportDefinitionProps.getAdditionalArtifacts()
additionalSchemaElements
(List<String> additionalSchemaElements) Sets the value ofCfnReportDefinitionProps.getAdditionalSchemaElements()
billingViewArn
(String billingViewArn) Sets the value ofCfnReportDefinitionProps.getBillingViewArn()
build()
Builds the configured instance.compression
(String compression) Sets the value ofCfnReportDefinitionProps.getCompression()
Sets the value ofCfnReportDefinitionProps.getFormat()
refreshClosedReports
(Boolean refreshClosedReports) Sets the value ofCfnReportDefinitionProps.getRefreshClosedReports()
refreshClosedReports
(IResolvable refreshClosedReports) Sets the value ofCfnReportDefinitionProps.getRefreshClosedReports()
reportName
(String reportName) Sets the value ofCfnReportDefinitionProps.getReportName()
reportVersioning
(String reportVersioning) Sets the value ofCfnReportDefinitionProps.getReportVersioning()
Sets the value ofCfnReportDefinitionProps.getS3Bucket()
Sets the value ofCfnReportDefinitionProps.getS3Prefix()
Sets the value ofCfnReportDefinitionProps.getS3Region()
Sets the value ofCfnReportDefinitionProps.getTimeUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
compression
Sets the value ofCfnReportDefinitionProps.getCompression()
- Parameters:
compression
- The compression format that Amazon Web Services uses for the report. This parameter is required.- Returns:
this
-
format
Sets the value ofCfnReportDefinitionProps.getFormat()
- Parameters:
format
- The format that Amazon Web Services saves the report in. This parameter is required.- Returns:
this
-
refreshClosedReports
@Stability(Stable) public CfnReportDefinitionProps.Builder refreshClosedReports(Boolean refreshClosedReports) Sets the value ofCfnReportDefinitionProps.getRefreshClosedReports()
- Parameters:
refreshClosedReports
- Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. This parameter is required. These charges can include refunds, credits, or support fees.- Returns:
this
-
refreshClosedReports
@Stability(Stable) public CfnReportDefinitionProps.Builder refreshClosedReports(IResolvable refreshClosedReports) Sets the value ofCfnReportDefinitionProps.getRefreshClosedReports()
- Parameters:
refreshClosedReports
- Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. This parameter is required. These charges can include refunds, credits, or support fees.- Returns:
this
-
reportName
Sets the value ofCfnReportDefinitionProps.getReportName()
- Parameters:
reportName
- The name of the report that you want to create. This parameter is required. The name must be unique, is case sensitive, and can't include spaces.- Returns:
this
-
reportVersioning
@Stability(Stable) public CfnReportDefinitionProps.Builder reportVersioning(String reportVersioning) Sets the value ofCfnReportDefinitionProps.getReportVersioning()
- Parameters:
reportVersioning
- Whether you want AWS to overwrite the previous version of each report or to deliver the report in addition to the previous versions. This parameter is required.- Returns:
this
-
s3Bucket
Sets the value ofCfnReportDefinitionProps.getS3Bucket()
- Parameters:
s3Bucket
- The S3 bucket where Amazon Web Services delivers the report. This parameter is required.- Returns:
this
-
s3Prefix
Sets the value ofCfnReportDefinitionProps.getS3Prefix()
- Parameters:
s3Prefix
- The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report. This parameter is required. Your prefix can't include spaces.- Returns:
this
-
s3Region
Sets the value ofCfnReportDefinitionProps.getS3Region()
- Parameters:
s3Region
- The Region of the S3 bucket that Amazon Web Services delivers the report into. This parameter is required.- Returns:
this
-
timeUnit
Sets the value ofCfnReportDefinitionProps.getTimeUnit()
- Parameters:
timeUnit
- The granularity of the line items in the report. This parameter is required.- Returns:
this
-
additionalArtifacts
@Stability(Stable) public CfnReportDefinitionProps.Builder additionalArtifacts(List<String> additionalArtifacts) Sets the value ofCfnReportDefinitionProps.getAdditionalArtifacts()
- Parameters:
additionalArtifacts
- A list of manifests that you want AWS to create for this report.- Returns:
this
-
additionalSchemaElements
@Stability(Stable) public CfnReportDefinitionProps.Builder additionalSchemaElements(List<String> additionalSchemaElements) Sets the value ofCfnReportDefinitionProps.getAdditionalSchemaElements()
- Parameters:
additionalSchemaElements
- A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs.- Returns:
this
-
billingViewArn
Sets the value ofCfnReportDefinitionProps.getBillingViewArn()
- Parameters:
billingViewArn
- The Amazon Resource Name (ARN) of the billing view. You can get this value by using the billing view service public APIs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReportDefinitionProps>
- Returns:
- a new instance of
CfnReportDefinitionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-