Interface GetFindingStatisticsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetFindingStatisticsRequest.Builder,GetFindingStatisticsRequest>,Macie2Request.Builder,SdkBuilder<GetFindingStatisticsRequest.Builder,GetFindingStatisticsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetFindingStatisticsRequest
public static interface GetFindingStatisticsRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<GetFindingStatisticsRequest.Builder,GetFindingStatisticsRequest>
-
-
Method Summary
-
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 Detail
-
findingCriteria
GetFindingStatisticsRequest.Builder findingCriteria(FindingCriteria 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.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
GetFindingStatisticsRequest.Builder groupBy(String 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,GroupBy
-
-
groupBy
GetFindingStatisticsRequest.Builder groupBy(GroupBy 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,GroupBy
-
-
size
GetFindingStatisticsRequest.Builder size(Integer 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
GetFindingStatisticsRequest.Builder sortCriteria(FindingStatisticsSortCriteria 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.Builderavoiding the need to create one manually viaFindingStatisticsSortCriteria.builder().When the
Consumercompletes,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:
sortCriteria(FindingStatisticsSortCriteria)
-
overrideConfiguration
GetFindingStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetFindingStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-