Interface RepositoryAggregationResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RepositoryAggregationResponse.Builder,RepositoryAggregationResponse>,SdkBuilder<RepositoryAggregationResponse.Builder,RepositoryAggregationResponse>,SdkPojo
- Enclosing class:
- RepositoryAggregationResponse
public static interface RepositoryAggregationResponse.Builder extends SdkPojo, CopyableBuilder<RepositoryAggregationResponse.Builder,RepositoryAggregationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RepositoryAggregationResponse.BuilderaccountId(String accountId)The ID of the Amazon Web Services account associated with the findings.RepositoryAggregationResponse.BuilderaffectedImages(Long affectedImages)The number of container images impacted by the findings.RepositoryAggregationResponse.Builderrepository(String repository)The name of the repository associated with the findings.default RepositoryAggregationResponse.BuilderseverityCounts(Consumer<SeverityCounts.Builder> severityCounts)An object that represent the count of matched findings per severity.RepositoryAggregationResponse.BuilderseverityCounts(SeverityCounts severityCounts)An object that represent the count of matched findings per 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 Detail
-
accountId
RepositoryAggregationResponse.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.
-
affectedImages
RepositoryAggregationResponse.Builder affectedImages(Long affectedImages)
The number of container images impacted by the findings.
- Parameters:
affectedImages- The number of container images impacted by the findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
RepositoryAggregationResponse.Builder repository(String repository)
The name of the repository associated with the findings.
- Parameters:
repository- The name of the repository associated with the findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
RepositoryAggregationResponse.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 RepositoryAggregationResponse.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)
-
-