Class CfnReportDefinition.Builder

java.lang.Object
software.amazon.awscdk.services.cur.CfnReportDefinition.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportDefinition>
Enclosing class:
CfnReportDefinition

@Stability(Stable) public static final class CfnReportDefinition.Builder extends Object implements software.amazon.jsii.Builder<CfnReportDefinition>
A fluent builder for CfnReportDefinition.
  • Method Details

    • create

      @Stability(Stable) public static CfnReportDefinition.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnReportDefinition.Builder.
    • compression

      @Stability(Stable) public CfnReportDefinition.Builder compression(String compression)
      The compression format that Amazon Web Services uses for the report.

      Parameters:
      compression - The compression format that Amazon Web Services uses for the report. This parameter is required.
      Returns:
      this
    • format

      @Stability(Stable) public CfnReportDefinition.Builder format(String format)
      The format that Amazon Web Services saves the report in.

      Parameters:
      format - The format that Amazon Web Services saves the report in. This parameter is required.
      Returns:
      this
    • refreshClosedReports

      @Stability(Stable) public CfnReportDefinition.Builder refreshClosedReports(Boolean 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.

      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.
      Returns:
      this
    • refreshClosedReports

      @Stability(Stable) public CfnReportDefinition.Builder refreshClosedReports(IResolvable 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.

      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.
      Returns:
      this
    • reportName

      @Stability(Stable) public CfnReportDefinition.Builder reportName(String reportName)
      The name of the report that you want to create.

      The name must be unique, is case sensitive, and can't include spaces.

      Parameters:
      reportName - The name of the report that you want to create. This parameter is required.
      Returns:
      this
    • reportVersioning

      @Stability(Stable) public CfnReportDefinition.Builder reportVersioning(String reportVersioning)
      Whether you want AWS to overwrite the previous version of each report or to deliver the report in addition to the previous versions.

      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

      @Stability(Stable) public CfnReportDefinition.Builder s3Bucket(String s3Bucket)
      The S3 bucket where Amazon Web Services delivers the report.

      Parameters:
      s3Bucket - The S3 bucket where Amazon Web Services delivers the report. This parameter is required.
      Returns:
      this
    • s3Prefix

      @Stability(Stable) public CfnReportDefinition.Builder s3Prefix(String 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.

      Parameters:
      s3Prefix - The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report. This parameter is required.
      Returns:
      this
    • s3Region

      @Stability(Stable) public CfnReportDefinition.Builder s3Region(String s3Region)
      The Region of the S3 bucket that Amazon Web Services delivers the report into.

      Parameters:
      s3Region - The Region of the S3 bucket that Amazon Web Services delivers the report into. This parameter is required.
      Returns:
      this
    • timeUnit

      @Stability(Stable) public CfnReportDefinition.Builder timeUnit(String timeUnit)
      The granularity of the line items in the report.

      Parameters:
      timeUnit - The granularity of the line items in the report. This parameter is required.
      Returns:
      this
    • additionalArtifacts

      @Stability(Stable) public CfnReportDefinition.Builder additionalArtifacts(List<String> additionalArtifacts)
      A list of manifests that you want AWS to create for this report.

      Parameters:
      additionalArtifacts - A list of manifests that you want AWS to create for this report. This parameter is required.
      Returns:
      this
    • additionalSchemaElements

      @Stability(Stable) public CfnReportDefinition.Builder additionalSchemaElements(List<String> additionalSchemaElements)
      A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs.

      Parameters:
      additionalSchemaElements - A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs. This parameter is required.
      Returns:
      this
    • billingViewArn

      @Stability(Stable) public CfnReportDefinition.Builder billingViewArn(String billingViewArn)
      The Amazon Resource Name (ARN) of the billing view.

      You can get this value by using the billing view service public APIs.

      Parameters:
      billingViewArn - The Amazon Resource Name (ARN) of the billing view. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnReportDefinition build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnReportDefinition>
      Returns:
      a newly built instance of CfnReportDefinition.