Interface OrganizationSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationSummary.Builder,,OrganizationSummary> SdkBuilder<OrganizationSummary.Builder,,OrganizationSummary> SdkPojo
- Enclosing class:
OrganizationSummary
-
Method Summary
Modifier and TypeMethodDescriptionevaluatedAccounts(Integer evaluatedAccounts) The number of evaluated member accounts, whether they completed or failed.failedCount(Integer failedCount) The accounts whose score was exactly 0.failedRunCount(Integer failedRunCount) The accounts for which the assessment run failed before producing an outcome.lowestScoringAccounts(Collection<AccountOutcome> lowestScoringAccounts) The lowest-scoring accounts, ascending by score, at most 5.lowestScoringAccounts(Consumer<AccountOutcome.Builder>... lowestScoringAccounts) The lowest-scoring accounts, ascending by score, at most 5.lowestScoringAccounts(AccountOutcome... lowestScoringAccounts) The lowest-scoring accounts, ascending by score, at most 5.notApplicableCount(Integer notApplicableCount) The accounts excluded from the score because the control did not apply (no in-scope resources).partiallyPassedCount(Integer partiallyPassedCount) The accounts scoring strictly between 0 and 100.passedCount(Integer passedCount) The accounts whose score was exactly 100.totalAccounts(Integer totalAccounts) The total number of member accounts included in the assessment.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
-
totalAccounts
The total number of member accounts included in the assessment.
- Parameters:
totalAccounts- The total number of member accounts included in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatedAccounts
The number of evaluated member accounts, whether they completed or failed. Together with
totalAccounts, this value shows assessment progress. EqualstotalAccountswhen the assessment finalizes.- Parameters:
evaluatedAccounts- The number of evaluated member accounts, whether they completed or failed. Together withtotalAccounts, this value shows assessment progress. EqualstotalAccountswhen the assessment finalizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passedCount
The accounts whose score was exactly 100.
- Parameters:
passedCount- The accounts whose score was exactly 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedCount
The accounts whose score was exactly 0.
- Parameters:
failedCount- The accounts whose score was exactly 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partiallyPassedCount
The accounts scoring strictly between 0 and 100.
- Parameters:
partiallyPassedCount- The accounts scoring strictly between 0 and 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notApplicableCount
The accounts excluded from the score because the control did not apply (no in-scope resources).
- Parameters:
notApplicableCount- The accounts excluded from the score because the control did not apply (no in-scope resources).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRunCount
The accounts for which the assessment run failed before producing an outcome. These accounts are excluded from the score.
- Parameters:
failedRunCount- The accounts for which the assessment run failed before producing an outcome. These accounts are excluded from the score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lowestScoringAccounts
The lowest-scoring accounts, ascending by score, at most 5.
- Parameters:
lowestScoringAccounts- The lowest-scoring accounts, ascending by score, at most 5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lowestScoringAccounts
The lowest-scoring accounts, ascending by score, at most 5.
- Parameters:
lowestScoringAccounts- The lowest-scoring accounts, ascending by score, at most 5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lowestScoringAccounts
OrganizationSummary.Builder lowestScoringAccounts(Consumer<AccountOutcome.Builder>... lowestScoringAccounts) The lowest-scoring accounts, ascending by score, at most 5.
This is a convenience method that creates an instance of theAccountOutcome.Builderavoiding the need to create one manually viaAccountOutcome.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolowestScoringAccounts(List<AccountOutcome>).- Parameters:
lowestScoringAccounts- a consumer that will call methods onAccountOutcome.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-