Class CfnReportDefinitionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.cur.mixins.CfnReportDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportDefinitionMixinProps>
- Enclosing interface:
CfnReportDefinitionMixinProps
@Stability(Stable)
public static final class CfnReportDefinitionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportDefinitionMixinProps>
A builder for
CfnReportDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalArtifacts(List<String> additionalArtifacts) Sets the value ofCfnReportDefinitionMixinProps.getAdditionalArtifacts()additionalSchemaElements(List<String> additionalSchemaElements) Sets the value ofCfnReportDefinitionMixinProps.getAdditionalSchemaElements()billingViewArn(String billingViewArn) Sets the value ofCfnReportDefinitionMixinProps.getBillingViewArn()build()Builds the configured instance.compression(String compression) Sets the value ofCfnReportDefinitionMixinProps.getCompression()Sets the value ofCfnReportDefinitionMixinProps.getFormat()refreshClosedReports(Boolean refreshClosedReports) Sets the value ofCfnReportDefinitionMixinProps.getRefreshClosedReports()refreshClosedReports(IResolvable refreshClosedReports) Sets the value ofCfnReportDefinitionMixinProps.getRefreshClosedReports()reportName(String reportName) Sets the value ofCfnReportDefinitionMixinProps.getReportName()reportVersioning(String reportVersioning) Sets the value ofCfnReportDefinitionMixinProps.getReportVersioning()Sets the value ofCfnReportDefinitionMixinProps.getS3Bucket()Sets the value ofCfnReportDefinitionMixinProps.getS3Prefix()Sets the value ofCfnReportDefinitionMixinProps.getS3Region()Sets the value ofCfnReportDefinitionMixinProps.getTags()Sets the value ofCfnReportDefinitionMixinProps.getTimeUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalArtifacts
@Stability(Stable) public CfnReportDefinitionMixinProps.Builder additionalArtifacts(List<String> additionalArtifacts) Sets the value ofCfnReportDefinitionMixinProps.getAdditionalArtifacts()- Parameters:
additionalArtifacts- A list of manifests that you want AWS to create for this report.- Returns:
this
-
additionalSchemaElements
@Stability(Stable) public CfnReportDefinitionMixinProps.Builder additionalSchemaElements(List<String> additionalSchemaElements) Sets the value ofCfnReportDefinitionMixinProps.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
@Stability(Stable) public CfnReportDefinitionMixinProps.Builder billingViewArn(String billingViewArn) Sets the value ofCfnReportDefinitionMixinProps.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
-
compression
Sets the value ofCfnReportDefinitionMixinProps.getCompression()- Parameters:
compression- The compression format that Amazon Web Services uses for the report.- Returns:
this
-
format
Sets the value ofCfnReportDefinitionMixinProps.getFormat()- Parameters:
format- The format that Amazon Web Services saves the report in.- Returns:
this
-
refreshClosedReports
@Stability(Stable) public CfnReportDefinitionMixinProps.Builder refreshClosedReports(Boolean refreshClosedReports) Sets the value ofCfnReportDefinitionMixinProps.getRefreshClosedReports()- Parameters:
refreshClosedReports- Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. These charges can include refunds, credits, or support fees.- Returns:
this
-
refreshClosedReports
@Stability(Stable) public CfnReportDefinitionMixinProps.Builder refreshClosedReports(IResolvable refreshClosedReports) Sets the value ofCfnReportDefinitionMixinProps.getRefreshClosedReports()- Parameters:
refreshClosedReports- Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. These charges can include refunds, credits, or support fees.- Returns:
this
-
reportName
Sets the value ofCfnReportDefinitionMixinProps.getReportName()- Parameters:
reportName- The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces.- Returns:
this
-
reportVersioning
@Stability(Stable) public CfnReportDefinitionMixinProps.Builder reportVersioning(String reportVersioning) Sets the value ofCfnReportDefinitionMixinProps.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.- Returns:
this
-
s3Bucket
Sets the value ofCfnReportDefinitionMixinProps.getS3Bucket()- Parameters:
s3Bucket- The S3 bucket where Amazon Web Services delivers the report.- Returns:
this
-
s3Prefix
Sets the value ofCfnReportDefinitionMixinProps.getS3Prefix()- Parameters:
s3Prefix- The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report. Your prefix can't include spaces.- Returns:
this
-
s3Region
Sets the value ofCfnReportDefinitionMixinProps.getS3Region()- Parameters:
s3Region- The Region of the S3 bucket that Amazon Web Services delivers the report into.- Returns:
this
-
tags
Sets the value ofCfnReportDefinitionMixinProps.getTags()- Parameters:
tags- The tags to be assigned to the report definition resource.- Returns:
this
-
timeUnit
Sets the value ofCfnReportDefinitionMixinProps.getTimeUnit()- Parameters:
timeUnit- The granularity of the line items in the report.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReportDefinitionMixinProps>- Returns:
- a new instance of
CfnReportDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-