Interface DeclarativePoliciesReport.Builder

  • Method Details

    • 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.
    • s3Bucket

      The name of the Amazon S3 bucket where the report is located.

      Parameters:
      s3Bucket - The name of the Amazon S3 bucket where the report is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Prefix

      The prefix for your S3 object.

      Parameters:
      s3Prefix - The prefix for your S3 object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetId

      The root ID, organizational unit ID, or account ID.

      Format:

      • For root: r-ab12

      • For OU: ou-ab12-cdef1234

      • For account: 123456789012

      Parameters:
      targetId - The root ID, organizational unit ID, or account ID.

      Format:

      • For root: r-ab12

      • For OU: ou-ab12-cdef1234

      • For account: 123456789012

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      The time when the report generation started.

      Parameters:
      startTime - The time when the report generation started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time when the report generation ended.

      Parameters:
      endTime - The time when the report generation ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the report.

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

      The current status of the report.

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

      Any tags assigned to the report.

      Parameters:
      tags - Any tags assigned to the report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags assigned to the report.

      Parameters:
      tags - Any tags assigned to the report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags assigned to the report.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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