Interface GetFilterResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFilterResponse.Builder,GetFilterResponse>,GuardDutyResponse.Builder,SdkBuilder<GetFilterResponse.Builder,GetFilterResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFilterResponse
public static interface GetFilterResponse.Builder extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetFilterResponse.Builder,GetFilterResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFilterResponse.Builderaction(String action)Specifies the action that is to be applied to the findings that match the filter.GetFilterResponse.Builderaction(FilterAction action)Specifies the action that is to be applied to the findings that match the filter.GetFilterResponse.Builderdescription(String description)The description of the filter.default GetFilterResponse.BuilderfindingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)Represents the criteria to be used in the filter for querying findings.GetFilterResponse.BuilderfindingCriteria(FindingCriteria findingCriteria)Represents the criteria to be used in the filter for querying findings.GetFilterResponse.Buildername(String name)The name of the filter.GetFilterResponse.Builderrank(Integer rank)Specifies the position of the filter in the list of current filters.GetFilterResponse.Buildertags(Map<String,String> tags)The tags of the filter resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.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
-
name
GetFilterResponse.Builder name(String name)
The name of the filter.
- Parameters:
name- The name of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetFilterResponse.Builder description(String description)
The description of the filter.
- Parameters:
description- The description of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
GetFilterResponse.Builder action(String action)
Specifies the action that is to be applied to the findings that match the filter.
- Parameters:
action- Specifies the action that is to be applied to the findings that match the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterAction,FilterAction
-
action
GetFilterResponse.Builder action(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
- Parameters:
action- Specifies the action that is to be applied to the findings that match the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterAction,FilterAction
-
rank
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
GetFilterResponse.Builder findingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
- Parameters:
findingCriteria- Represents the criteria to be used in the filter for querying findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCriteria
default GetFilterResponse.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)
Represents the criteria to be used in the filter for querying 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)
-
tags
GetFilterResponse.Builder tags(Map<String,String> tags)
The tags of the filter resource.
- Parameters:
tags- The tags of the filter resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-