@Stability(value=Stable) public static final class CfnFilterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnFilterProps>
CfnFilterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFilterProps.Builder |
action(String action)
Sets the value of
CfnFilterProps.getAction() |
CfnFilterProps |
build()
Builds the configured instance.
|
CfnFilterProps.Builder |
description(String description)
Sets the value of
CfnFilterProps.getDescription() |
CfnFilterProps.Builder |
detectorId(String detectorId)
Sets the value of
CfnFilterProps.getDetectorId() |
CfnFilterProps.Builder |
findingCriteria(CfnFilter.FindingCriteriaProperty findingCriteria)
Sets the value of
CfnFilterProps.getFindingCriteria() |
CfnFilterProps.Builder |
findingCriteria(IResolvable findingCriteria)
Sets the value of
CfnFilterProps.getFindingCriteria() |
CfnFilterProps.Builder |
name(String name)
Sets the value of
CfnFilterProps.getName() |
CfnFilterProps.Builder |
rank(Number rank)
Sets the value of
CfnFilterProps.getRank() |
CfnFilterProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnFilterProps.getTags() |
@Stability(value=Stable) public CfnFilterProps.Builder action(String action)
CfnFilterProps.getAction()action - Specifies the action that is to be applied to the findings that match the filter. This parameter is required.this@Stability(value=Stable) public CfnFilterProps.Builder description(String description)
CfnFilterProps.getDescription()description - The description of the filter. This parameter is required.this@Stability(value=Stable) public CfnFilterProps.Builder detectorId(String detectorId)
CfnFilterProps.getDetectorId()detectorId - The ID of the detector belonging to the GuardDuty account that you want to create a filter for. This parameter is required.this@Stability(value=Stable) public CfnFilterProps.Builder findingCriteria(CfnFilter.FindingCriteriaProperty findingCriteria)
CfnFilterProps.getFindingCriteria()findingCriteria - Represents the criteria to be used in the filter for querying findings. This parameter is required.this@Stability(value=Stable) public CfnFilterProps.Builder findingCriteria(IResolvable findingCriteria)
CfnFilterProps.getFindingCriteria()findingCriteria - Represents the criteria to be used in the filter for querying findings. This parameter is required.this@Stability(value=Stable) public CfnFilterProps.Builder name(String name)
CfnFilterProps.getName()name - The name of the filter. This parameter is required.
Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.this@Stability(value=Stable) public CfnFilterProps.Builder rank(Number rank)
CfnFilterProps.getRank()rank - `AWS::GuardDuty::Filter.Rank`. This parameter is required.this@Stability(value=Stable) public CfnFilterProps.Builder tags(List<? extends CfnTag> tags)
CfnFilterProps.getTags()tags - `AWS::GuardDuty::Filter.Tags`.this@Stability(value=Stable) public CfnFilterProps build()
build in interface software.amazon.jsii.Builder<CfnFilterProps>CfnFilterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.