Interface UpdateFilterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>,Inspector2Request.Builder,SdkBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateFilterRequest
public static interface UpdateFilterRequest.Builder extends Inspector2Request.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)A description of the filter.UpdateFilterRequest.BuilderfilterArn(String filterArn)The Amazon Resource Number (ARN) of the filter to update.default UpdateFilterRequest.BuilderfilterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)Defines the criteria to be update in the filter.UpdateFilterRequest.BuilderfilterCriteria(FilterCriteria filterCriteria)Defines the criteria to be update in the filter.UpdateFilterRequest.Buildername(String name)The name of the filter.UpdateFilterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateFilterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateFilterRequest.Builderreason(String reason)The reason the filter was updated.-
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.inspector2.model.Inspector2Request.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
-
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
-
description
UpdateFilterRequest.Builder description(String description)
A description of the filter.
- Parameters:
description- A description of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterArn
UpdateFilterRequest.Builder filterArn(String filterArn)
The Amazon Resource Number (ARN) of the filter to update.
- Parameters:
filterArn- The Amazon Resource Number (ARN) of the filter to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
UpdateFilterRequest.Builder filterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be update in the filter.
- Parameters:
filterCriteria- Defines the criteria to be update in the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default UpdateFilterRequest.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)
Defines the criteria to be update in the filter.
This is a convenience method that creates an instance of theFilterCriteria.Builderavoiding the need to create one manually viaFilterCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterCriteria(FilterCriteria).- Parameters:
filterCriteria- a consumer that will call methods onFilterCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filterCriteria(FilterCriteria)
-
name
UpdateFilterRequest.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.
-
reason
UpdateFilterRequest.Builder reason(String reason)
The reason the filter was updated.
- Parameters:
reason- The reason the filter was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFilterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-