Interface CreateFindingsFilterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFindingsFilterRequest.Builder,CreateFindingsFilterRequest>,Macie2Request.Builder,SdkBuilder<CreateFindingsFilterRequest.Builder,CreateFindingsFilterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFindingsFilterRequest
public static interface CreateFindingsFilterRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<CreateFindingsFilterRequest.Builder,CreateFindingsFilterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFindingsFilterRequest.Builderaction(String action)The action to perform on findings that match the filter criteria (findingCriteria).CreateFindingsFilterRequest.Builderaction(FindingsFilterAction action)The action to perform on findings that match the filter criteria (findingCriteria).CreateFindingsFilterRequest.BuilderclientToken(String clientToken)A unique, case-sensitive token that you provide to ensure the idempotency of the request.CreateFindingsFilterRequest.Builderdescription(String description)A custom description of the filter.default CreateFindingsFilterRequest.BuilderfindingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)The criteria to use to filter findings.CreateFindingsFilterRequest.BuilderfindingCriteria(FindingCriteria findingCriteria)The criteria to use to filter findings.CreateFindingsFilterRequest.Buildername(String name)A custom name for the filter.CreateFindingsFilterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFindingsFilterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFindingsFilterRequest.Builderposition(Integer position)The position of the filter in the list of saved filters on the Amazon Macie console.CreateFindingsFilterRequest.Buildertags(Map<String,String> tags)A map of key-value pairs that specifies the tags to associate with the filter.-
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
-
action
CreateFindingsFilterRequest.Builder action(String 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:
FindingsFilterAction,FindingsFilterAction
-
action
CreateFindingsFilterRequest.Builder action(FindingsFilterAction 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:
FindingsFilterAction,FindingsFilterAction
-
clientToken
CreateFindingsFilterRequest.Builder clientToken(String 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
CreateFindingsFilterRequest.Builder description(String 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
CreateFindingsFilterRequest.Builder findingCriteria(FindingCriteria 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 CreateFindingsFilterRequest.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)
The criteria to use 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)
-
name
CreateFindingsFilterRequest.Builder name(String 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
CreateFindingsFilterRequest.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
CreateFindingsFilterRequest.Builder tags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the filter.
A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
- Parameters:
tags- A map of key-value pairs that specifies the tags to associate with the filter.A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFindingsFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFindingsFilterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-