Interface GetFindingStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingStatisticsResponse.Builder,,GetFindingStatisticsResponse> Macie2Response.Builder,SdkBuilder<GetFindingStatisticsResponse.Builder,,GetFindingStatisticsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFindingStatisticsResponse
public static interface GetFindingStatisticsResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetFindingStatisticsResponse.Builder,GetFindingStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncountsByGroup(Collection<GroupCount> countsByGroup) An array of objects, one for each group of findings that matches the filter criteria specified in the request.countsByGroup(Consumer<GroupCount.Builder>... countsByGroup) An array of objects, one for each group of findings that matches the filter criteria specified in the request.countsByGroup(GroupCount... countsByGroup) An array of objects, one for each group of findings that matches the filter criteria specified in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
countsByGroup
An array of objects, one for each group of findings that matches the filter criteria specified in the request.
- Parameters:
countsByGroup- An array of objects, one for each group of findings that matches the filter criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countsByGroup
An array of objects, one for each group of findings that matches the filter criteria specified in the request.
- Parameters:
countsByGroup- An array of objects, one for each group of findings that matches the filter criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countsByGroup
An array of objects, one for each group of findings that matches the filter criteria specified in the request.
This is a convenience method that creates an instance of theGroupCount.Builderavoiding the need to create one manually viaGroupCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocountsByGroup(List<GroupCount>).- Parameters:
countsByGroup- a consumer that will call methods onGroupCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-