Interface UpdateFindingsFilterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFindingsFilterRequest.Builder,
,UpdateFindingsFilterRequest> Macie2Request.Builder
,SdkBuilder<UpdateFindingsFilterRequest.Builder,
,UpdateFindingsFilterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFindingsFilterRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe action to perform on findings that match the filter criteria (findingCriteria).action
(FindingsFilterAction action) The action to perform on findings that match the filter criteria (findingCriteria).clientToken
(String clientToken) A unique, case-sensitive token that you provide to ensure the idempotency of the request.description
(String description) A custom description of the filter.findingCriteria
(Consumer<FindingCriteria.Builder> findingCriteria) The criteria to use to filter findings.findingCriteria
(FindingCriteria findingCriteria) The criteria to use to filter findings.The unique identifier for the Amazon Macie resource that the request applies to.A custom name for the filter.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The position of the filter in the list of saved filters on the Amazon Macie console.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, sdkFields
-
Method Details
-
action
The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
- Parameters:
action
- The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
- Parameters:
action
- The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
- Parameters:
description
- A custom description of the filter. The description can contain as many as 512 characters.We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
The criteria to use to filter findings.
- Parameters:
findingCriteria
- The criteria to use to filter findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
default UpdateFindingsFilterRequest.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria) The criteria to use to filter 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:
-
id
The unique identifier for the Amazon Macie resource that the request applies to.
- Parameters:
id
- The unique identifier for the Amazon Macie resource that the request applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
- Parameters:
name
- A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
- Parameters:
position
- The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFindingsFilterRequest.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
UpdateFindingsFilterRequest.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.
-