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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description GetFindingsStatisticsRequest.BuilderdetectorId(String detectorId)The ID of the detector whose findings statistics you want to retrieve.default GetFindingsStatisticsRequest.BuilderfindingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)Represents the criteria that is used for querying findings.GetFindingsStatisticsRequest.BuilderfindingCriteria(FindingCriteria findingCriteria)Represents the criteria that is used for querying findings.GetFindingsStatisticsRequest.BuilderfindingStatisticTypes(Collection<FindingStatisticType> findingStatisticTypes)Deprecated.This parameter is deprecated, please use GroupBy insteadGetFindingsStatisticsRequest.BuilderfindingStatisticTypes(FindingStatisticType... findingStatisticTypes)Deprecated.This parameter is deprecated, please use GroupBy insteadGetFindingsStatisticsRequest.BuilderfindingStatisticTypesWithStrings(String... findingStatisticTypes)Deprecated.This parameter is deprecated, please use GroupBy insteadGetFindingsStatisticsRequest.BuilderfindingStatisticTypesWithStrings(Collection<String> findingStatisticTypes)Deprecated.This parameter is deprecated, please use GroupBy insteadGetFindingsStatisticsRequest.BuildergroupBy(String groupBy)Displays the findings statistics grouped by one of the listed valid values.GetFindingsStatisticsRequest.BuildergroupBy(GroupByType groupBy)Displays the findings statistics grouped by one of the listed valid values.GetFindingsStatisticsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to be returned in the response.GetFindingsStatisticsRequest.BuilderorderBy(String orderBy)Displays the sorted findings in the requested order.GetFindingsStatisticsRequest.BuilderorderBy(OrderBy orderBy)Displays the sorted findings in the requested order.GetFindingsStatisticsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetFindingsStatisticsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
detectorId
GetFindingsStatisticsRequest.Builder detectorId(String detectorId)
The ID of the detector whose findings statistics you want to retrieve.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId- The ID of the detector whose findings statistics you want to retrieve.To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingStatisticTypesWithStrings
@Deprecated GetFindingsStatisticsRequest.Builder findingStatisticTypesWithStrings(Collection<String> findingStatisticTypes)
Deprecated.This parameter is deprecated, please use GroupBy insteadThe 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
@Deprecated GetFindingsStatisticsRequest.Builder findingStatisticTypesWithStrings(String... findingStatisticTypes)
Deprecated.This parameter is deprecated, please use GroupBy insteadThe 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
@Deprecated GetFindingsStatisticsRequest.Builder findingStatisticTypes(Collection<FindingStatisticType> findingStatisticTypes)
Deprecated.This parameter is deprecated, please use GroupBy insteadThe 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
@Deprecated GetFindingsStatisticsRequest.Builder findingStatisticTypes(FindingStatisticType... findingStatisticTypes)
Deprecated.This parameter is deprecated, please use GroupBy insteadThe 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
GetFindingsStatisticsRequest.Builder findingCriteria(FindingCriteria 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.Builderavoiding the need to create one manually viaFindingCriteria.builder().When the
Consumercompletes,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:
findingCriteria(FindingCriteria)
-
groupBy
GetFindingsStatisticsRequest.Builder groupBy(String groupBy)
Displays the findings statistics grouped by one of the listed valid values.
- Parameters:
groupBy- Displays the findings statistics grouped by one of the listed valid values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GroupByType,GroupByType
-
groupBy
GetFindingsStatisticsRequest.Builder groupBy(GroupByType groupBy)
Displays the findings statistics grouped by one of the listed valid values.
- Parameters:
groupBy- Displays the findings statistics grouped by one of the listed valid values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GroupByType,GroupByType
-
orderBy
GetFindingsStatisticsRequest.Builder orderBy(String orderBy)
Displays the sorted findings in the requested order. The default value of
orderByisDESC.You can use this parameter only with the
groupByparameter.
-
orderBy
GetFindingsStatisticsRequest.Builder orderBy(OrderBy orderBy)
Displays the sorted findings in the requested order. The default value of
orderByisDESC.You can use this parameter only with the
groupByparameter.
-
maxResults
GetFindingsStatisticsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to be returned in the response. The default value is 25.
You can use this parameter only with the
groupByparameter.- Parameters:
maxResults- The maximum number of results to be returned in the response. The default value is 25.You can use this parameter only with the
groupByparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetFindingsStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetFindingsStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-