Interface DeclarativePoliciesReport.Builder

    • Method Detail

      • reportId

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

        DeclarativePoliciesReport.Builder s3Bucket​(String 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

        DeclarativePoliciesReport.Builder s3Prefix​(String 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

        DeclarativePoliciesReport.Builder targetId​(String 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

        DeclarativePoliciesReport.Builder startTime​(Instant 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

        DeclarativePoliciesReport.Builder endTime​(Instant 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.
      • tags

        DeclarativePoliciesReport.Builder tags​(Collection<Tag> 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

        DeclarativePoliciesReport.Builder tags​(Tag... 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.