Interface GetCoverageStatisticsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetCoverageStatisticsRequest.Builder,
,GetCoverageStatisticsRequest> GuardDutyRequest.Builder
,SdkBuilder<GetCoverageStatisticsRequest.Builder,
,GetCoverageStatisticsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetCoverageStatisticsRequest
public static interface GetCoverageStatisticsRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<GetCoverageStatisticsRequest.Builder,GetCoverageStatisticsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId
(String detectorId) The unique ID of the GuardDuty detector.filterCriteria
(Consumer<CoverageFilterCriteria.Builder> filterCriteria) Represents the criteria used to filter the coverage statistics.filterCriteria
(CoverageFilterCriteria filterCriteria) Represents the criteria used to filter the coverage statistics.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.statisticsType
(Collection<CoverageStatisticsType> statisticsType) Represents the statistics type used to aggregate the coverage details.statisticsType
(CoverageStatisticsType... statisticsType) Represents the statistics type used to aggregate the coverage details.statisticsTypeWithStrings
(String... statisticsType) Represents the statistics type used to aggregate the coverage details.statisticsTypeWithStrings
(Collection<String> statisticsType) Represents the statistics type used to aggregate the coverage details.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
detectorId
The unique ID of the GuardDuty detector.
- Parameters:
detectorId
- The unique ID of the GuardDuty detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
Represents the criteria used to filter the coverage statistics.
- Parameters:
filterCriteria
- Represents the criteria used to filter the coverage statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default GetCoverageStatisticsRequest.Builder filterCriteria(Consumer<CoverageFilterCriteria.Builder> filterCriteria) Represents the criteria used to filter the coverage statistics.
This is a convenience method that creates an instance of theCoverageFilterCriteria.Builder
avoiding the need to create one manually viaCoverageFilterCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterCriteria(CoverageFilterCriteria)
.- Parameters:
filterCriteria
- a consumer that will call methods onCoverageFilterCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statisticsTypeWithStrings
Represents the statistics type used to aggregate the coverage details.
- Parameters:
statisticsType
- Represents the statistics type used to aggregate the coverage details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticsTypeWithStrings
Represents the statistics type used to aggregate the coverage details.
- Parameters:
statisticsType
- Represents the statistics type used to aggregate the coverage details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticsType
GetCoverageStatisticsRequest.Builder statisticsType(Collection<CoverageStatisticsType> statisticsType) Represents the statistics type used to aggregate the coverage details.
- Parameters:
statisticsType
- Represents the statistics type used to aggregate the coverage details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticsType
Represents the statistics type used to aggregate the coverage details.
- Parameters:
statisticsType
- Represents the statistics type used to aggregate the coverage details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCoverageStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetCoverageStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-