Interface ReportDefinition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReportDefinition.Builder,ReportDefinition>, SdkBuilder<ReportDefinition.Builder,ReportDefinition>, SdkPojo
Enclosing class:
ReportDefinition

public static interface ReportDefinition.Builder extends SdkPojo, CopyableBuilder<ReportDefinition.Builder,ReportDefinition>
  • Method Details

    • reportName

      ReportDefinition.Builder reportName(String reportName)
      Sets the value of the ReportName property for this object.
      Parameters:
      reportName - The new value for the ReportName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeUnit

      ReportDefinition.Builder timeUnit(String timeUnit)
      Sets the value of the TimeUnit property for this object.
      Parameters:
      timeUnit - The new value for the TimeUnit property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeUnit

      ReportDefinition.Builder timeUnit(TimeUnit timeUnit)
      Sets the value of the TimeUnit property for this object.
      Parameters:
      timeUnit - The new value for the TimeUnit property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Sets the value of the Format property for this object.
      Parameters:
      format - The new value for the Format property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Sets the value of the Format property for this object.
      Parameters:
      format - The new value for the Format property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • compression

      ReportDefinition.Builder compression(String compression)
      Sets the value of the Compression property for this object.
      Parameters:
      compression - The new value for the Compression property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • compression

      ReportDefinition.Builder compression(CompressionFormat compression)
      Sets the value of the Compression property for this object.
      Parameters:
      compression - The new value for the Compression property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • additionalSchemaElementsWithStrings

      ReportDefinition.Builder additionalSchemaElementsWithStrings(Collection<String> additionalSchemaElements)

      A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.

      Parameters:
      additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSchemaElementsWithStrings

      ReportDefinition.Builder additionalSchemaElementsWithStrings(String... additionalSchemaElements)

      A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.

      Parameters:
      additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSchemaElements

      ReportDefinition.Builder additionalSchemaElements(Collection<SchemaElement> additionalSchemaElements)

      A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.

      Parameters:
      additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSchemaElements

      ReportDefinition.Builder additionalSchemaElements(SchemaElement... additionalSchemaElements)

      A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.

      Parameters:
      additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Bucket

      ReportDefinition.Builder s3Bucket(String s3Bucket)
      Sets the value of the S3Bucket property for this object.
      Parameters:
      s3Bucket - The new value for the S3Bucket property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Prefix

      ReportDefinition.Builder s3Prefix(String s3Prefix)
      Sets the value of the S3Prefix property for this object.
      Parameters:
      s3Prefix - The new value for the S3Prefix property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Region

      ReportDefinition.Builder s3Region(String s3Region)
      Sets the value of the S3Region property for this object.
      Parameters:
      s3Region - The new value for the S3Region property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • s3Region

      ReportDefinition.Builder s3Region(AWSRegion s3Region)
      Sets the value of the S3Region property for this object.
      Parameters:
      s3Region - The new value for the S3Region property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • additionalArtifactsWithStrings

      ReportDefinition.Builder additionalArtifactsWithStrings(Collection<String> additionalArtifacts)

      A list of manifests that you want Amazon Web Services to create for this report.

      Parameters:
      additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalArtifactsWithStrings

      ReportDefinition.Builder additionalArtifactsWithStrings(String... additionalArtifacts)

      A list of manifests that you want Amazon Web Services to create for this report.

      Parameters:
      additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalArtifacts

      ReportDefinition.Builder additionalArtifacts(Collection<AdditionalArtifact> additionalArtifacts)

      A list of manifests that you want Amazon Web Services to create for this report.

      Parameters:
      additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalArtifacts

      ReportDefinition.Builder additionalArtifacts(AdditionalArtifact... additionalArtifacts)

      A list of manifests that you want Amazon Web Services to create for this report.

      Parameters:
      additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • refreshClosedReports

      ReportDefinition.Builder refreshClosedReports(Boolean refreshClosedReports)

      Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.

      Parameters:
      refreshClosedReports - Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportVersioning

      ReportDefinition.Builder reportVersioning(String reportVersioning)

      Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.

      Parameters:
      reportVersioning - Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reportVersioning

      ReportDefinition.Builder reportVersioning(ReportVersioning reportVersioning)

      Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.

      Parameters:
      reportVersioning - Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • billingViewArn

      ReportDefinition.Builder billingViewArn(String billingViewArn)

      The Amazon resource name of the billing view. The BillingViewArn is needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. The BillingViewArn for a billing group can be constructed as: arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id

      Parameters:
      billingViewArn - The Amazon resource name of the billing view. The BillingViewArn is needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. The BillingViewArn for a billing group can be constructed as: arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportStatus

      ReportDefinition.Builder reportStatus(ReportStatus reportStatus)

      The status of the report.

      Parameters:
      reportStatus - The status of the report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportStatus

      default ReportDefinition.Builder reportStatus(Consumer<ReportStatus.Builder> reportStatus)

      The status of the report.

      This is a convenience method that creates an instance of the ReportStatus.Builder avoiding the need to create one manually via ReportStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to reportStatus(ReportStatus).

      Parameters:
      reportStatus - a consumer that will call methods on ReportStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: