Interface CoverageSummary.Builder

  • Method Details

    • totalAccountsInScope

      CoverageSummary.Builder totalAccountsInScope(Long totalAccountsInScope)

      Total number of accounts that were in scope for the report after applying all filters and AWS Organizations membership validation.

      Parameters:
      totalAccountsInScope - Total number of accounts that were in scope for the report after applying all filters and AWS Organizations membership validation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountsWithProfile

      CoverageSummary.Builder accountsWithProfile(Long accountsWithProfile)

      Number of in-scope accounts that had an Agent Profile and were successfully processed.

      Parameters:
      accountsWithProfile - Number of in-scope accounts that had an Agent Profile and were successfully processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountsWithoutProfile

      CoverageSummary.Builder accountsWithoutProfile(Long accountsWithoutProfile)

      Number of in-scope accounts that had no Agent Profile at the time of the snapshot.

      Parameters:
      accountsWithoutProfile - Number of in-scope accounts that had no Agent Profile at the time of the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedAccountCount

      CoverageSummary.Builder failedAccountCount(Long failedAccountCount)

      Number of in-scope accounts that errored during processing. Equal to the length of failedAccounts.

      Parameters:
      failedAccountCount - Number of in-scope accounts that errored during processing. Equal to the length of failedAccounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalProfiles

      CoverageSummary.Builder totalProfiles(Long totalProfiles)

      Total number of Agent Profiles contributing to the report.

      Parameters:
      totalProfiles - Total number of Agent Profiles contributing to the report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalRecommendations

      CoverageSummary.Builder totalRecommendations(Long totalRecommendations)

      Total number of recommendations included in the report across all profiles and all pillars.

      Parameters:
      totalRecommendations - Total number of recommendations included in the report across all profiles and all pillars.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationCountByPillar

      CoverageSummary.Builder recommendationCountByPillar(Collection<PillarCount> recommendationCountByPillar)

      Recommendation count grouped by Well-Architected pillar. Each entry pairs a Pillar enum value with a non-negative long. The counts sum to totalRecommendations.

      Parameters:
      recommendationCountByPillar - Recommendation count grouped by Well-Architected pillar. Each entry pairs a Pillar enum value with a non-negative long. The counts sum to totalRecommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationCountByPillar

      CoverageSummary.Builder recommendationCountByPillar(PillarCount... recommendationCountByPillar)

      Recommendation count grouped by Well-Architected pillar. Each entry pairs a Pillar enum value with a non-negative long. The counts sum to totalRecommendations.

      Parameters:
      recommendationCountByPillar - Recommendation count grouped by Well-Architected pillar. Each entry pairs a Pillar enum value with a non-negative long. The counts sum to totalRecommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationCountByPillar

      CoverageSummary.Builder recommendationCountByPillar(Consumer<PillarCount.Builder>... recommendationCountByPillar)

      Recommendation count grouped by Well-Architected pillar. Each entry pairs a Pillar enum value with a non-negative long. The counts sum to totalRecommendations.

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

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

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

      CoverageSummary.Builder recommendationCountByPriority(Collection<PriorityCount> recommendationCountByPriority)

      Recommendation count grouped by Priority. Each entry pairs a Priority enum value with a non-negative long. The counts sum to totalRecommendations.

      Parameters:
      recommendationCountByPriority - Recommendation count grouped by Priority. Each entry pairs a Priority enum value with a non-negative long. The counts sum to totalRecommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationCountByPriority

      CoverageSummary.Builder recommendationCountByPriority(PriorityCount... recommendationCountByPriority)

      Recommendation count grouped by Priority. Each entry pairs a Priority enum value with a non-negative long. The counts sum to totalRecommendations.

      Parameters:
      recommendationCountByPriority - Recommendation count grouped by Priority. Each entry pairs a Priority enum value with a non-negative long. The counts sum to totalRecommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationCountByPriority

      CoverageSummary.Builder recommendationCountByPriority(Consumer<PriorityCount.Builder>... recommendationCountByPriority)

      Recommendation count grouped by Priority. Each entry pairs a Priority enum value with a non-negative long. The counts sum to totalRecommendations.

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

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

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

      CoverageSummary.Builder failedAccounts(Collection<FailedAccount> failedAccounts)

      Accounts that errored during processing and the reason they failed.

      Parameters:
      failedAccounts - Accounts that errored during processing and the reason they failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedAccounts

      CoverageSummary.Builder failedAccounts(FailedAccount... failedAccounts)

      Accounts that errored during processing and the reason they failed.

      Parameters:
      failedAccounts - Accounts that errored during processing and the reason they failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedAccounts

      CoverageSummary.Builder failedAccounts(Consumer<FailedAccount.Builder>... failedAccounts)

      Accounts that errored during processing and the reason they failed.

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

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

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

      CoverageSummary.Builder failedOrganizationalUnits(Collection<FailedOrganizationalUnit> failedOrganizationalUnits)

      Organizational units named in the report's filters that could not be expanded into their member accounts, along with the reason each failed. A failed OU means the report is missing whatever accounts it contained. Absent or empty when every requested OU expanded successfully.

      Parameters:
      failedOrganizationalUnits - Organizational units named in the report's filters that could not be expanded into their member accounts, along with the reason each failed. A failed OU means the report is missing whatever accounts it contained. Absent or empty when every requested OU expanded successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedOrganizationalUnits

      CoverageSummary.Builder failedOrganizationalUnits(FailedOrganizationalUnit... failedOrganizationalUnits)

      Organizational units named in the report's filters that could not be expanded into their member accounts, along with the reason each failed. A failed OU means the report is missing whatever accounts it contained. Absent or empty when every requested OU expanded successfully.

      Parameters:
      failedOrganizationalUnits - Organizational units named in the report's filters that could not be expanded into their member accounts, along with the reason each failed. A failed OU means the report is missing whatever accounts it contained. Absent or empty when every requested OU expanded successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedOrganizationalUnits

      CoverageSummary.Builder failedOrganizationalUnits(Consumer<FailedOrganizationalUnit.Builder>... failedOrganizationalUnits)

      Organizational units named in the report's filters that could not be expanded into their member accounts, along with the reason each failed. A failed OU means the report is missing whatever accounts it contained. Absent or empty when every requested OU expanded successfully.

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

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

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