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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetCoverageStatisticsResponse.BuildercoverageStatistics(Consumer<CoverageStatistics.Builder> coverageStatistics)Represents the count aggregated by thestatusCodeandresourceType.GetCoverageStatisticsResponse.BuildercoverageStatistics(CoverageStatistics coverageStatistics)Represents the count aggregated by thestatusCodeandresourceType.-
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 Detail
-
coverageStatistics
GetCoverageStatisticsResponse.Builder coverageStatistics(CoverageStatistics 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:
coverageStatistics(CoverageStatistics)
-
-