Class CoverageSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CoverageSummary.Builder,CoverageSummary>
Counts describing the coverage of a completed Organizational Report. Includes the number of accounts in scope, how many had a profile, how many failed, and aggregated recommendation counts by pillar and priority. Returned only by GetAgentOrganizationalReport after the report reaches COMPLETED status. Not returned on the list response.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal LongNumber of in-scope accounts that had no Agent Profile at the time of the snapshot.final LongNumber of in-scope accounts that had an Agent Profile and were successfully processed.static CoverageSummary.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final LongNumber of in-scope accounts that errored during processing.final List<FailedAccount> Accounts that errored during processing and the reason they failed.final List<FailedOrganizationalUnit> Organizational units named in the report's filters that could not be expanded into their member accounts, along with the reason each failed.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the FailedAccounts property.final booleanFor responses, this returns true if the service returned a value for the FailedOrganizationalUnits property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the RecommendationCountByPillar property.final booleanFor responses, this returns true if the service returned a value for the RecommendationCountByPriority property.final List<PillarCount> Recommendation count grouped by Well-Architected pillar.final List<PriorityCount> Recommendation count grouped by Priority.static Class<? extends CoverageSummary.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final LongTotal number of accounts that were in scope for the report after applying all filters and AWS Organizations membership validation.final LongTotal number of Agent Profiles contributing to the report.final LongTotal number of recommendations included in the report across all profiles and all pillars.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
totalAccountsInScope
Total number of accounts that were in scope for the report after applying all filters and AWS Organizations membership validation.
- Returns:
- Total number of accounts that were in scope for the report after applying all filters and AWS Organizations membership validation.
-
accountsWithProfile
Number of in-scope accounts that had an Agent Profile and were successfully processed.
- Returns:
- Number of in-scope accounts that had an Agent Profile and were successfully processed.
-
accountsWithoutProfile
Number of in-scope accounts that had no Agent Profile at the time of the snapshot.
- Returns:
- Number of in-scope accounts that had no Agent Profile at the time of the snapshot.
-
failedAccountCount
Number of in-scope accounts that errored during processing. Equal to the length of failedAccounts.
- Returns:
- Number of in-scope accounts that errored during processing. Equal to the length of failedAccounts.
-
totalProfiles
Total number of Agent Profiles contributing to the report.
- Returns:
- Total number of Agent Profiles contributing to the report.
-
totalRecommendations
Total number of recommendations included in the report across all profiles and all pillars.
- Returns:
- Total number of recommendations included in the report across all profiles and all pillars.
-
hasRecommendationCountByPillar
public final boolean hasRecommendationCountByPillar()For responses, this returns true if the service returned a value for the RecommendationCountByPillar property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasRecommendationCountByPillar()method.- Returns:
- Recommendation count grouped by Well-Architected pillar. Each entry pairs a Pillar enum value with a non-negative long. The counts sum to totalRecommendations.
-
hasRecommendationCountByPriority
public final boolean hasRecommendationCountByPriority()For responses, this returns true if the service returned a value for the RecommendationCountByPriority property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
recommendationCountByPriority
Recommendation count grouped by Priority. Each entry pairs a Priority enum value with a non-negative long. The counts sum to totalRecommendations.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasRecommendationCountByPriority()method.- Returns:
- Recommendation count grouped by Priority. Each entry pairs a Priority enum value with a non-negative long. The counts sum to totalRecommendations.
-
hasFailedAccounts
public final boolean hasFailedAccounts()For responses, this returns true if the service returned a value for the FailedAccounts property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
failedAccounts
Accounts that errored during processing and the reason they failed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFailedAccounts()method.- Returns:
- Accounts that errored during processing and the reason they failed.
-
hasFailedOrganizationalUnits
public final boolean hasFailedOrganizationalUnits()For responses, this returns true if the service returned a value for the FailedOrganizationalUnits property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFailedOrganizationalUnits()method.- Returns:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CoverageSummary.Builder,CoverageSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-