Interface UpdateFilterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFilterRequest.Builder,
,UpdateFilterRequest> GuardDutyRequest.Builder
,SdkBuilder<UpdateFilterRequest.Builder,
,UpdateFilterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFilterRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the action that is to be applied to the findings that match the filter.action
(FilterAction action) Specifies the action that is to be applied to the findings that match the filter.description
(String description) The description of the filter.detectorId
(String detectorId) The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.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.findingCriteria
(FindingCriteria findingCriteria) Represents the criteria to be used in the filter for querying findings.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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
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
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
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:
-
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:
-
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
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.Builder
avoiding the need to create one manually viaFindingCriteria.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdateFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFilterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-