public static interface Filter.Builder extends SdkPojo, CopyableBuilder<Filter.Builder,Filter>
| Modifier and Type | Method and Description |
|---|---|
Filter.Builder |
action(FilterAction action)
The action that is to be applied to the findings that match the filter.
|
Filter.Builder |
action(String action)
The action that is to be applied to the findings that match the filter.
|
Filter.Builder |
arn(String arn)
The Amazon Resource Number (ARN) associated with this filter.
|
Filter.Builder |
createdAt(Instant createdAt)
The date and time this filter was created at.
|
default Filter.Builder |
criteria(Consumer<FilterCriteria.Builder> criteria)
Details on the filter criteria associated with this filter.
|
Filter.Builder |
criteria(FilterCriteria criteria)
Details on the filter criteria associated with this filter.
|
Filter.Builder |
description(String description)
A description of the filter.
|
Filter.Builder |
name(String name)
The name of the filter.
|
Filter.Builder |
ownerId(String ownerId)
The Amazon Web Services account ID of the account that created the filter.
|
Filter.Builder |
reason(String reason)
The reason for the filter.
|
Filter.Builder |
tags(Map<String,String> tags)
The tags attached to the filter.
|
Filter.Builder |
updatedAt(Instant updatedAt)
The date and time the filter was last updated at.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFilter.Builder action(String action)
The action that is to be applied to the findings that match the filter.
action - The action that is to be applied to the findings that match the filter.FilterAction,
FilterActionFilter.Builder action(FilterAction action)
The action that is to be applied to the findings that match the filter.
action - The action that is to be applied to the findings that match the filter.FilterAction,
FilterActionFilter.Builder arn(String arn)
The Amazon Resource Number (ARN) associated with this filter.
arn - The Amazon Resource Number (ARN) associated with this filter.Filter.Builder createdAt(Instant createdAt)
The date and time this filter was created at.
createdAt - The date and time this filter was created at.Filter.Builder criteria(FilterCriteria criteria)
Details on the filter criteria associated with this filter.
criteria - Details on the filter criteria associated with this filter.default Filter.Builder criteria(Consumer<FilterCriteria.Builder> criteria)
Details on the filter criteria associated with this filter.
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 criteria(FilterCriteria).
criteria - a consumer that will call methods on FilterCriteria.Buildercriteria(FilterCriteria)Filter.Builder description(String description)
A description of the filter.
description - A description of the filter.Filter.Builder name(String name)
The name of the filter.
name - The name of the filter.Filter.Builder ownerId(String ownerId)
The Amazon Web Services account ID of the account that created the filter.
ownerId - The Amazon Web Services account ID of the account that created the filter.Filter.Builder reason(String reason)
The reason for the filter.
reason - The reason for the filter.Filter.Builder tags(Map<String,String> tags)
The tags attached to the filter.
tags - The tags attached to the filter.Filter.Builder updatedAt(Instant updatedAt)
The date and time the filter was last updated at.
updatedAt - The date and time the filter was last updated at.Copyright © 2023. All rights reserved.