Interface GetFindingsStatisticsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetFindingsStatisticsRequest.Builder,
,GetFindingsStatisticsRequest> GuardDutyRequest.Builder
,SdkBuilder<GetFindingsStatisticsRequest.Builder,
,GetFindingsStatisticsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetFindingsStatisticsRequest
public static interface GetFindingsStatisticsRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<GetFindingsStatisticsRequest.Builder,GetFindingsStatisticsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId
(String detectorId) The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.findingCriteria
(Consumer<FindingCriteria.Builder> findingCriteria) Represents the criteria that is used for querying findings.findingCriteria
(FindingCriteria findingCriteria) Represents the criteria that is used for querying findings.findingStatisticTypes
(Collection<FindingStatisticType> findingStatisticTypes) The types of finding statistics to retrieve.findingStatisticTypes
(FindingStatisticType... findingStatisticTypes) The types of finding statistics to retrieve.findingStatisticTypesWithStrings
(String... findingStatisticTypes) The types of finding statistics to retrieve.findingStatisticTypesWithStrings
(Collection<String> findingStatisticTypes) The types of finding statistics to retrieve.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.
- Parameters:
detectorId
- The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingStatisticTypesWithStrings
GetFindingsStatisticsRequest.Builder findingStatisticTypesWithStrings(Collection<String> findingStatisticTypes) The types of finding statistics to retrieve.
- Parameters:
findingStatisticTypes
- The types of finding statistics to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingStatisticTypesWithStrings
GetFindingsStatisticsRequest.Builder findingStatisticTypesWithStrings(String... findingStatisticTypes) The types of finding statistics to retrieve.
- Parameters:
findingStatisticTypes
- The types of finding statistics to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingStatisticTypes
GetFindingsStatisticsRequest.Builder findingStatisticTypes(Collection<FindingStatisticType> findingStatisticTypes) The types of finding statistics to retrieve.
- Parameters:
findingStatisticTypes
- The types of finding statistics to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingStatisticTypes
GetFindingsStatisticsRequest.Builder findingStatisticTypes(FindingStatisticType... findingStatisticTypes) The types of finding statistics to retrieve.
- Parameters:
findingStatisticTypes
- The types of finding statistics to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
Represents the criteria that is used for querying findings.
- Parameters:
findingCriteria
- Represents the criteria that is used for querying findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
default GetFindingsStatisticsRequest.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria) Represents the criteria that is used for querying findings.
This is a convenience method that creates an instance of theFindingCriteria.Builder
avoiding the need to create one manually viaFindingCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindingCriteria(FindingCriteria)
.- Parameters:
findingCriteria
- a consumer that will call methods onFindingCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetFindingsStatisticsRequest.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
GetFindingsStatisticsRequest.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.
-