Interface GetFindingStatisticsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetFindingStatisticsRequest.Builder,
,GetFindingStatisticsRequest> Macie2Request.Builder
,SdkBuilder<GetFindingStatisticsRequest.Builder,
,GetFindingStatisticsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetFindingStatisticsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfindingCriteria
(Consumer<FindingCriteria.Builder> findingCriteria) The criteria to use to filter the query results.findingCriteria
(FindingCriteria findingCriteria) The criteria to use to filter the query results.The finding property to use to group the query results.The finding property to use to group the query results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The maximum number of items to include in each page of the response.sortCriteria
(Consumer<FindingStatisticsSortCriteria.Builder> sortCriteria) The criteria to use to sort the query results.sortCriteria
(FindingStatisticsSortCriteria sortCriteria) The criteria to use to sort the query results.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.macie2.model.Macie2Request.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 Details
-
findingCriteria
The criteria to use to filter the query results.
- Parameters:
findingCriteria
- The criteria to use to filter the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
default GetFindingStatisticsRequest.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria) The criteria to use to filter the query results.
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:
-
groupBy
The finding property to use to group the query results. Valid values are:
-
classificationDetails.jobId - The unique identifier for the classification job that produced the finding.
-
resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.
-
severity.description - The severity level of the finding, such as High or Medium.
-
type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
- Parameters:
groupBy
- The finding property to use to group the query results. Valid values are:-
classificationDetails.jobId - The unique identifier for the classification job that produced the finding.
-
resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.
-
severity.description - The severity level of the finding, such as High or Medium.
-
type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
groupBy
The finding property to use to group the query results. Valid values are:
-
classificationDetails.jobId - The unique identifier for the classification job that produced the finding.
-
resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.
-
severity.description - The severity level of the finding, such as High or Medium.
-
type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
- Parameters:
groupBy
- The finding property to use to group the query results. Valid values are:-
classificationDetails.jobId - The unique identifier for the classification job that produced the finding.
-
resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.
-
severity.description - The severity level of the finding, such as High or Medium.
-
type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
size
The maximum number of items to include in each page of the response.
- Parameters:
size
- The maximum number of items to include in each page of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The criteria to use to sort the query results.
- Parameters:
sortCriteria
- The criteria to use to sort the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
default GetFindingStatisticsRequest.Builder sortCriteria(Consumer<FindingStatisticsSortCriteria.Builder> sortCriteria) The criteria to use to sort the query results.
This is a convenience method that creates an instance of theFindingStatisticsSortCriteria.Builder
avoiding the need to create one manually viaFindingStatisticsSortCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortCriteria(FindingStatisticsSortCriteria)
.- Parameters:
sortCriteria
- a consumer that will call methods onFindingStatisticsSortCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetFindingStatisticsRequest.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
GetFindingStatisticsRequest.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.
-