public static interface GetFilterResponse.Builder extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetFilterResponse.Builder,GetFilterResponse>
Modifier and Type | Method and Description |
---|---|
GetFilterResponse.Builder |
action(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
|
GetFilterResponse.Builder |
action(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
GetFilterResponse.Builder |
description(String description)
The description of the filter.
|
default GetFilterResponse.Builder |
findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
GetFilterResponse.Builder |
findingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
GetFilterResponse.Builder |
name(String name)
The name of the filter.
|
GetFilterResponse.Builder |
rank(Integer rank)
Specifies the position of the filter in the list of current filters.
|
GetFilterResponse.Builder |
tags(Map<String,String> tags)
The tags of the filter resource.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetFilterResponse.Builder name(String name)
The name of the filter.
name
- The name of the filter.GetFilterResponse.Builder description(String description)
The description of the filter.
description
- The description of the filter.GetFilterResponse.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
GetFilterResponse.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
GetFilterResponse.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.GetFilterResponse.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 GetFilterResponse.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)
GetFilterResponse.Builder tags(Map<String,String> tags)
The tags of the filter resource.
tags
- The tags of the filter resource.