Interface UpdateFilterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>,GuardDutyRequest.Builder,SdkBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateFilterRequest
public static interface UpdateFilterRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateFilterRequest.Builderaction(String action)Specifies the action that is to be applied to the findings that match the filter.UpdateFilterRequest.Builderaction(FilterAction action)Specifies the action that is to be applied to the findings that match the filter.UpdateFilterRequest.Builderdescription(String description)The description of the filter.UpdateFilterRequest.BuilderdetectorId(String detectorId)The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.UpdateFilterRequest.BuilderfilterName(String filterName)The name of the filter.default UpdateFilterRequest.BuilderfindingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)Represents the criteria to be used in the filter for querying findings.UpdateFilterRequest.BuilderfindingCriteria(FindingCriteria findingCriteria)Represents the criteria to be used in the filter for querying findings.UpdateFilterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateFilterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateFilterRequest.Builderrank(Integer rank)Specifies the position of the filter in the list of current filters.-
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.guardduty.model.GuardDutyRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
detectorId
UpdateFilterRequest.Builder detectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
- Parameters:
detectorId- The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterName
UpdateFilterRequest.Builder filterName(String filterName)
The name of the filter.
- Parameters:
filterName- The name of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateFilterRequest.Builder description(String description)
The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses (
{ },[ ], and( )), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.- Parameters:
description- The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ({ },[ ], and( )), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
UpdateFilterRequest.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
UpdateFilterRequest.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
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.
- 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
UpdateFilterRequest.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 UpdateFilterRequest.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)
-
overrideConfiguration
UpdateFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFilterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-