public static final class CfnFilterProps.Builder
extends java.lang.Object
CfnFilterProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFilterProps |
build()
Builds the configured instance.
|
CfnFilterProps.Builder |
description(java.lang.String description)
Sets the value of
CfnFilterProps.getDescription() |
CfnFilterProps.Builder |
filterAction(java.lang.String filterAction)
Sets the value of
CfnFilterProps.getFilterAction() |
CfnFilterProps.Builder |
filterCriteria(CfnFilter.FilterCriteriaProperty filterCriteria)
Sets the value of
CfnFilterProps.getFilterCriteria() |
CfnFilterProps.Builder |
filterCriteria(IResolvable filterCriteria)
Sets the value of
CfnFilterProps.getFilterCriteria() |
CfnFilterProps.Builder |
name(java.lang.String name)
Sets the value of
CfnFilterProps.getName() |
public CfnFilterProps.Builder filterAction(java.lang.String filterAction)
CfnFilterProps.getFilterAction()
filterAction
- The action that is to be applied to the findings that match the filter. This parameter is required.this
public CfnFilterProps.Builder filterCriteria(CfnFilter.FilterCriteriaProperty filterCriteria)
CfnFilterProps.getFilterCriteria()
filterCriteria
- Details on the filter criteria associated with this filter. This parameter is required.this
public CfnFilterProps.Builder filterCriteria(IResolvable filterCriteria)
CfnFilterProps.getFilterCriteria()
filterCriteria
- Details on the filter criteria associated with this filter. This parameter is required.this
public CfnFilterProps.Builder name(java.lang.String name)
CfnFilterProps.getName()
name
- The name of the filter. This parameter is required.this
public CfnFilterProps.Builder description(java.lang.String description)
CfnFilterProps.getDescription()
description
- A description of the filter.this
public CfnFilterProps build()
CfnFilterProps
java.lang.NullPointerException
- if any required attribute was not provided