Interface AccountAggregation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountAggregation.Builder,
,AccountAggregation> SdkBuilder<AccountAggregation.Builder,
,AccountAggregation> SdkPojo
- Enclosing class:
AccountAggregation
public static interface AccountAggregation.Builder
extends SdkPojo, CopyableBuilder<AccountAggregation.Builder,AccountAggregation>
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the account that owns the aggregated resource findings.default AccountAggregation.Builder
severityCounts
(Consumer<SeverityCounts.Builder> severityCounts) Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.severityCounts
(SeverityCounts severityCounts) Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
Identifies the account that owns the aggregated resource findings.
- Parameters:
accountId
- Identifies the account that owns the aggregated resource findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
- Parameters:
severityCounts
- Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
This is a convenience method that creates an instance of theSeverityCounts.Builder
avoiding the need to create one manually viaSeverityCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseverityCounts(SeverityCounts)
.- Parameters:
severityCounts
- a consumer that will call methods onSeverityCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-