Interface ReportDefinition.Builder

  • Method Details

    • reportId

      ReportDefinition.Builder reportId(String reportId)

      The ID of the report.

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

      ReportDefinition.Builder reportDescription(String reportDescription)

      Description of the report

      Parameters:
      reportDescription - Description of the report
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportFrequency

      ReportDefinition.Builder reportFrequency(String reportFrequency)

      The cadence at which the report is generated.

      Parameters:
      reportFrequency - The cadence at which the report is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reportFrequency

      ReportDefinition.Builder reportFrequency(ReportFrequency reportFrequency)

      The cadence at which the report is generated.

      Parameters:
      reportFrequency - The cadence at which the report is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      The format used for the generated reports.

      Parameters:
      format - The format used for the generated reports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      The format used for the generated reports.

      Parameters:
      format - The format used for the generated reports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • destinationS3Location

      ReportDefinition.Builder destinationS3Location(S3Location destinationS3Location)

      The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.

      Parameters:
      destinationS3Location - The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationS3Location

      default ReportDefinition.Builder destinationS3Location(Consumer<S3Location.Builder> destinationS3Location)

      The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.

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

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

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

      ReportDefinition.Builder createdAt(Instant createdAt)

      Timestamp (milliseconds) when this report definition was created.

      Parameters:
      createdAt - Timestamp (milliseconds) when this report definition was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      ReportDefinition.Builder lastUpdatedAt(Instant lastUpdatedAt)

      Timestamp (milliseconds) when this report definition was last updated.

      Parameters:
      lastUpdatedAt - Timestamp (milliseconds) when this report definition was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.