Interface ListCoverageStatisticsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCoverageStatisticsResponse.Builder,ListCoverageStatisticsResponse>,Inspector2Response.Builder,SdkBuilder<ListCoverageStatisticsResponse.Builder,ListCoverageStatisticsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCoverageStatisticsResponse
public static interface ListCoverageStatisticsResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListCoverageStatisticsResponse.Builder,ListCoverageStatisticsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCoverageStatisticsResponse.BuildercountsByGroup(Collection<Counts> countsByGroup)An array with the number for each group.ListCoverageStatisticsResponse.BuildercountsByGroup(Consumer<Counts.Builder>... countsByGroup)An array with the number for each group.ListCoverageStatisticsResponse.BuildercountsByGroup(Counts... countsByGroup)An array with the number for each group.ListCoverageStatisticsResponse.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.ListCoverageStatisticsResponse.BuildertotalCounts(Long totalCounts)The total number for all groups.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
countsByGroup
ListCoverageStatisticsResponse.Builder countsByGroup(Collection<Counts> countsByGroup)
An array with the number for each group.
- Parameters:
countsByGroup- An array with the number for each group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countsByGroup
ListCoverageStatisticsResponse.Builder countsByGroup(Counts... countsByGroup)
An array with the number for each group.
- Parameters:
countsByGroup- An array with the number for each group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countsByGroup
ListCoverageStatisticsResponse.Builder countsByGroup(Consumer<Counts.Builder>... countsByGroup)
An array with the number for each group.
This is a convenience method that creates an instance of theCounts.Builderavoiding the need to create one manually viaCounts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#countsByGroup(List.) - Parameters:
countsByGroup- a consumer that will call methods onCounts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#countsByGroup(java.util.Collection)
-
nextToken
ListCoverageStatisticsResponse.Builder nextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the
NextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use theNextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCounts
ListCoverageStatisticsResponse.Builder totalCounts(Long totalCounts)
The total number for all groups.
- Parameters:
totalCounts- The total number for all groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-