Interface GetFindingsFilterResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingsFilterResponse.Builder,GetFindingsFilterResponse>,Macie2Response.Builder,SdkBuilder<GetFindingsFilterResponse.Builder,GetFindingsFilterResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFindingsFilterResponse
public static interface GetFindingsFilterResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetFindingsFilterResponse.Builder,GetFindingsFilterResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFindingsFilterResponse.Builderaction(String action)The action that's performed on findings that match the filter criteria (findingCriteria).GetFindingsFilterResponse.Builderaction(FindingsFilterAction action)The action that's performed on findings that match the filter criteria (findingCriteria).GetFindingsFilterResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the filter.GetFindingsFilterResponse.Builderdescription(String description)The custom description of the filter.default GetFindingsFilterResponse.BuilderfindingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)The criteria that's used to filter findings.GetFindingsFilterResponse.BuilderfindingCriteria(FindingCriteria findingCriteria)The criteria that's used to filter findings.GetFindingsFilterResponse.Builderid(String id)The unique identifier for the filter.GetFindingsFilterResponse.Buildername(String name)The custom name of the filter.GetFindingsFilterResponse.Builderposition(Integer position)The position of the filter in the list of saved filters on the Amazon Macie console.GetFindingsFilterResponse.Buildertags(Map<String,String> tags)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 Detail
-
action
GetFindingsFilterResponse.Builder action(String 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:
FindingsFilterAction,FindingsFilterAction
-
action
GetFindingsFilterResponse.Builder action(FindingsFilterAction 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:
FindingsFilterAction,FindingsFilterAction
-
arn
GetFindingsFilterResponse.Builder arn(String 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
GetFindingsFilterResponse.Builder description(String 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
GetFindingsFilterResponse.Builder findingCriteria(FindingCriteria 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.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)
-
id
GetFindingsFilterResponse.Builder id(String 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
GetFindingsFilterResponse.Builder name(String 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
GetFindingsFilterResponse.Builder position(Integer 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
GetFindingsFilterResponse.Builder tags(Map<String,String> 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.
-
-