Interface TitleAggregationResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TitleAggregationResponse.Builder,TitleAggregationResponse>,SdkBuilder<TitleAggregationResponse.Builder,TitleAggregationResponse>,SdkPojo
- Enclosing class:
- TitleAggregationResponse
public static interface TitleAggregationResponse.Builder extends SdkPojo, CopyableBuilder<TitleAggregationResponse.Builder,TitleAggregationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TitleAggregationResponse.BuilderaccountId(String accountId)The ID of the Amazon Web Services account associated with the findings.default TitleAggregationResponse.BuilderseverityCounts(Consumer<SeverityCounts.Builder> severityCounts)An object that represent the count of matched findings per severity.TitleAggregationResponse.BuilderseverityCounts(SeverityCounts severityCounts)An object that represent the count of matched findings per severity.TitleAggregationResponse.Buildertitle(String title)The title that the findings were aggregated on.TitleAggregationResponse.BuildervulnerabilityId(String vulnerabilityId)The vulnerability ID of the finding.-
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 Detail
-
accountId
TitleAggregationResponse.Builder accountId(String accountId)
The ID of the Amazon Web Services account associated with the findings.
- Parameters:
accountId- The ID of the Amazon Web Services account associated with the findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
TitleAggregationResponse.Builder severityCounts(SeverityCounts severityCounts)
An object that represent the count of matched findings per severity.
- Parameters:
severityCounts- An object that represent the count of matched findings per severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default TitleAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts)
An object that represent the count of matched findings per severity.
This is a convenience method that creates an instance of theSeverityCounts.Builderavoiding the need to create one manually viaSeverityCounts.builder().When the
Consumercompletes,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:
severityCounts(SeverityCounts)
-
title
TitleAggregationResponse.Builder title(String title)
The title that the findings were aggregated on.
- Parameters:
title- The title that the findings were aggregated on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vulnerabilityId
TitleAggregationResponse.Builder vulnerabilityId(String vulnerabilityId)
The vulnerability ID of the finding.
- Parameters:
vulnerabilityId- The vulnerability ID of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-