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 thestatusCodeandresourceType.coverageStatistics(CoverageStatistics coverageStatistics) Represents the count aggregated by thestatusCodeandresourceType.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.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
-
coverageStatistics
Represents the count aggregated by the
statusCodeandresourceType.- Parameters:
coverageStatistics- Represents the count aggregated by thestatusCodeandresourceType.- 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 thestatusCodeandresourceType.CoverageStatistics.Builderavoiding the need to create one manually viaCoverageStatistics.builder().When the
Consumercompletes,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:
-