Interface GetFindingsFilterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFindingsFilterResponse.Builder,
,GetFindingsFilterResponse> Macie2Response.Builder
,SdkBuilder<GetFindingsFilterResponse.Builder,
,GetFindingsFilterResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFindingsFilterResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe action that's performed on findings that match the filter criteria (findingCriteria).action
(FindingsFilterAction action) The action that's performed on findings that match the filter criteria (findingCriteria).The Amazon Resource Name (ARN) of the filter.description
(String description) The custom description of the filter.findingCriteria
(Consumer<FindingCriteria.Builder> findingCriteria) The criteria that's used to filter findings.findingCriteria
(FindingCriteria findingCriteria) The criteria that's used to filter findings.The unique identifier for the filter.The custom name of the filter.The position of the filter in the list of saved filters on the Amazon Macie console.A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
action
The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
- Parameters:
action
- The action that's performed on findings that match the filter criteria (findingCriteria). Possible 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 that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
- Parameters:
action
- The action that's performed on findings that match the filter criteria (findingCriteria). Possible 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:
-
arn
The Amazon Resource Name (ARN) of the filter.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The custom description of the filter.
- Parameters:
description
- The custom description of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
The criteria that's used to filter findings.
- Parameters:
findingCriteria
- The criteria that's used to filter findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
default GetFindingsFilterResponse.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria) The criteria that's used 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 filter.
- Parameters:
id
- The unique identifier for the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The custom name of the filter.
- Parameters:
name
- The custom name of the filter.- 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.
-
tags
A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
- Parameters:
tags
- A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-