Interface Filter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Filter.Builder,Filter>,SdkBuilder<Filter.Builder,Filter>,SdkPojo
- Enclosing class:
- Filter
public static interface Filter.Builder extends SdkPojo, CopyableBuilder<Filter.Builder,Filter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Filter.Builderaction(String action)The action that is to be applied to the findings that match the filter.Filter.Builderaction(FilterAction action)The action that is to be applied to the findings that match the filter.Filter.Builderarn(String arn)The Amazon Resource Number (ARN) associated with this filter.Filter.BuildercreatedAt(Instant createdAt)The date and time this filter was created at.default Filter.Buildercriteria(Consumer<FilterCriteria.Builder> criteria)Details on the filter criteria associated with this filter.Filter.Buildercriteria(FilterCriteria criteria)Details on the filter criteria associated with this filter.Filter.Builderdescription(String description)A description of the filter.Filter.Buildername(String name)The name of the filter.Filter.BuilderownerId(String ownerId)The Amazon Web Services account ID of the account that created the filter.Filter.Builderreason(String reason)The reason for the filter.Filter.Buildertags(Map<String,String> tags)The tags attached to the filter.Filter.BuilderupdatedAt(Instant updatedAt)The date and time the filter was last updated at.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
Filter.Builder action(String action)
The action that is to be applied to the findings that match the filter.
- Parameters:
action- 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
Filter.Builder action(FilterAction action)
The action that is to be applied to the findings that match the filter.
- Parameters:
action- 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
-
arn
Filter.Builder arn(String arn)
The Amazon Resource Number (ARN) associated with this filter.
- Parameters:
arn- The Amazon Resource Number (ARN) associated with this filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Filter.Builder createdAt(Instant createdAt)
The date and time this filter was created at.
- Parameters:
createdAt- The date and time this filter was created at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
Filter.Builder criteria(FilterCriteria criteria)
Details on the filter criteria associated with this filter.
- Parameters:
criteria- Details on the filter criteria associated with this filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
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.Builderavoiding the need to create one manually viaFilterCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteria(FilterCriteria).- Parameters:
criteria- 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:
criteria(FilterCriteria)
-
description
Filter.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.
-
name
Filter.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.
-
ownerId
Filter.Builder ownerId(String ownerId)
The Amazon Web Services account ID of the account that created the filter.
- Parameters:
ownerId- The Amazon Web Services account ID of the account that created the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
Filter.Builder reason(String reason)
The reason for the filter.
- Parameters:
reason- The reason for the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Filter.Builder tags(Map<String,String> tags)
The tags attached to the filter.
- Parameters:
tags- The tags attached to the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Filter.Builder updatedAt(Instant updatedAt)
The date and time the filter was last updated at.
- Parameters:
updatedAt- The date and time the filter was last updated at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-