public static interface CreateFilterRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<CreateFilterRequest.Builder,CreateFilterRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFilterRequest.Builder |
action(FilterAction action)
Defines the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest.Builder |
action(String action)
Defines the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest.Builder |
description(String description)
A description of the filter.
|
default CreateFilterRequest.Builder |
filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)
Defines the criteria to be used in the filter for querying findings.
|
CreateFilterRequest.Builder |
filterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be used in the filter for querying findings.
|
CreateFilterRequest.Builder |
name(String name)
The name of the filter.
|
CreateFilterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFilterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFilterRequest.Builder |
tags(Map<String,String> tags)
A list of tags for the filter.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFilterRequest.Builder action(String action)
Defines the action that is to be applied to the findings that match the filter.
action - Defines the action that is to be applied to the findings that match the filter.FilterAction,
FilterActionCreateFilterRequest.Builder action(FilterAction action)
Defines the action that is to be applied to the findings that match the filter.
action - Defines the action that is to be applied to the findings that match the filter.FilterAction,
FilterActionCreateFilterRequest.Builder description(String description)
A description of the filter.
description - A description of the filter.CreateFilterRequest.Builder filterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be used in the filter for querying findings.
filterCriteria - Defines the criteria to be used in the filter for querying findings.default CreateFilterRequest.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)
Defines the criteria to be used in the filter for querying findings.
This is a convenience method that creates an instance of theFilterCriteria.Builder avoiding the need
to create one manually via FilterCriteria.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to filterCriteria(FilterCriteria).filterCriteria - a consumer that will call methods on FilterCriteria.BuilderfilterCriteria(FilterCriteria)CreateFilterRequest.Builder name(String name)
The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
name - The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include
alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.CreateFilterRequest.Builder tags(Map<String,String> tags)
A list of tags for the filter.
tags - A list of tags for the filter.CreateFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFilterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.