public static interface UpdateFilterRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>
Modifier and Type | Method and Description |
---|---|
UpdateFilterRequest.Builder |
action(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
|
UpdateFilterRequest.Builder |
action(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
UpdateFilterRequest.Builder |
description(String description)
The description of the filter.
|
UpdateFilterRequest.Builder |
detectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
|
UpdateFilterRequest.Builder |
filterName(String filterName)
The name of the filter.
|
default UpdateFilterRequest.Builder |
findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
UpdateFilterRequest.Builder |
findingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
UpdateFilterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateFilterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateFilterRequest.Builder |
rank(Integer rank)
Specifies the position of the filter in the list of current filters.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateFilterRequest.Builder detectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
detectorId
- The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.UpdateFilterRequest.Builder filterName(String filterName)
The name of the filter.
filterName
- The name of the filter.UpdateFilterRequest.Builder description(String description)
The description of the filter.
description
- The description of the filter.UpdateFilterRequest.Builder action(String action)
Specifies the action that is to be applied to the findings that match the filter.
action
- Specifies the action that is to be applied to the findings that match the filter.FilterAction
,
FilterAction
UpdateFilterRequest.Builder action(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
action
- Specifies the action that is to be applied to the findings that match the filter.FilterAction
,
FilterAction
UpdateFilterRequest.Builder rank(Integer rank)
Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
rank
- Specifies the position of the filter in the list of current filters. Also specifies the order in which
this filter is applied to the findings.UpdateFilterRequest.Builder findingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
findingCriteria
- Represents the criteria to be used in the filter for querying findings.default UpdateFilterRequest.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)
Represents the criteria to be used in the filter for querying findings.
This is a convenience that creates an instance of theFindingCriteria.Builder
avoiding the need to
create one manually via FindingCriteria.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to findingCriteria(FindingCriteria)
.findingCriteria
- a consumer that will call methods on FindingCriteria.Builder
findingCriteria(FindingCriteria)
UpdateFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateFilterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.