Interface CoverageSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CoverageSummary.Builder,,CoverageSummary> SdkBuilder<CoverageSummary.Builder,,CoverageSummary> SdkPojo
- Enclosing class:
CoverageSummary
-
Method Summary
Modifier and TypeMethodDescriptionaccountsWithoutProfile(Long accountsWithoutProfile) Number of in-scope accounts that had no Agent Profile at the time of the snapshot.accountsWithProfile(Long accountsWithProfile) Number of in-scope accounts that had an Agent Profile and were successfully processed.failedAccountCount(Long failedAccountCount) Number of in-scope accounts that errored during processing.failedAccounts(Collection<FailedAccount> failedAccounts) Accounts that errored during processing and the reason they failed.failedAccounts(Consumer<FailedAccount.Builder>... failedAccounts) Accounts that errored during processing and the reason they failed.failedAccounts(FailedAccount... failedAccounts) Accounts that errored during processing and the reason they failed.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.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.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.recommendationCountByPillar(Collection<PillarCount> recommendationCountByPillar) Recommendation count grouped by Well-Architected pillar.recommendationCountByPillar(Consumer<PillarCount.Builder>... recommendationCountByPillar) Recommendation count grouped by Well-Architected pillar.recommendationCountByPillar(PillarCount... recommendationCountByPillar) Recommendation count grouped by Well-Architected pillar.recommendationCountByPriority(Collection<PriorityCount> recommendationCountByPriority) Recommendation count grouped by Priority.recommendationCountByPriority(Consumer<PriorityCount.Builder>... recommendationCountByPriority) Recommendation count grouped by Priority.recommendationCountByPriority(PriorityCount... recommendationCountByPriority) Recommendation count grouped by Priority.totalAccountsInScope(Long totalAccountsInScope) Total number of accounts that were in scope for the report after applying all filters and AWS Organizations membership validation.totalProfiles(Long totalProfiles) Total number of Agent Profiles contributing to the report.totalRecommendations(Long totalRecommendations) Total number of recommendations included in the report across all profiles and all pillars.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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 thePillarCount.Builderavoiding the need to create one manually viaPillarCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendationCountByPillar(List<PillarCount>).- Parameters:
recommendationCountByPillar- a consumer that will call methods onPillarCount.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 thePriorityCount.Builderavoiding the need to create one manually viaPriorityCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendationCountByPriority(List<PriorityCount>).- Parameters:
recommendationCountByPriority- a consumer that will call methods onPriorityCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
Accounts that errored during processing and the reason they failed.
This is a convenience method that creates an instance of theFailedAccount.Builderavoiding the need to create one manually viaFailedAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedAccounts(List<FailedAccount>).- Parameters:
failedAccounts- a consumer that will call methods onFailedAccount.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 theFailedOrganizationalUnit.Builderavoiding the need to create one manually viaFailedOrganizationalUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedOrganizationalUnits(List<FailedOrganizationalUnit>).- Parameters:
failedOrganizationalUnits- a consumer that will call methods onFailedOrganizationalUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-