Interface GetCoverageStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCoverageStatisticsResponse.Builder,
,GetCoverageStatisticsResponse> GuardDutyResponse.Builder
,SdkBuilder<GetCoverageStatisticsResponse.Builder,
,GetCoverageStatisticsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCoverageStatisticsResponse
public static interface GetCoverageStatisticsResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetCoverageStatisticsResponse.Builder,GetCoverageStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncoverageStatistics
(Consumer<CoverageStatistics.Builder> coverageStatistics) Represents the count aggregated by thestatusCode
andresourceType
.coverageStatistics
(CoverageStatistics coverageStatistics) Represents the count aggregated by thestatusCode
andresourceType
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.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 Details
-
coverageStatistics
Represents the count aggregated by the
statusCode
andresourceType
.- Parameters:
coverageStatistics
- Represents the count aggregated by thestatusCode
andresourceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverageStatistics
default GetCoverageStatisticsResponse.Builder coverageStatistics(Consumer<CoverageStatistics.Builder> coverageStatistics) Represents the count aggregated by the
This is a convenience method that creates an instance of thestatusCode
andresourceType
.CoverageStatistics.Builder
avoiding the need to create one manually viaCoverageStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoverageStatistics(CoverageStatistics)
.- Parameters:
coverageStatistics
- a consumer that will call methods onCoverageStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-