Interface AccountAggregationResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountAggregationResponse.Builder,
,AccountAggregationResponse> SdkBuilder<AccountAggregationResponse.Builder,
,AccountAggregationResponse> SdkPojo
- Enclosing class:
AccountAggregationResponse
public static interface AccountAggregationResponse.Builder
extends SdkPojo, CopyableBuilder<AccountAggregationResponse.Builder,AccountAggregationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID.severityCounts
(Consumer<SeverityCounts.Builder> severityCounts) The number of findings by severity.severityCounts
(SeverityCounts severityCounts) The number of findings by severity.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
The Amazon Web Services account ID.
- Parameters:
accountId
- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
The number of findings by severity.
- Parameters:
severityCounts
- The number of findings by severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default AccountAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts) The number of findings by severity.
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:
-