public static final class CfnFilter.FindingCriteriaProperty.Builder
extends java.lang.Object
CfnFilter.FindingCriteriaProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFilter.FindingCriteriaProperty |
build()
Builds the configured instance.
|
CfnFilter.FindingCriteriaProperty.Builder |
criterion(java.lang.Object criterion)
Sets the value of
CfnFilter.FindingCriteriaProperty.getCriterion() |
CfnFilter.FindingCriteriaProperty.Builder |
itemType(CfnFilter.ConditionProperty itemType)
Sets the value of
CfnFilter.FindingCriteriaProperty.getItemType() |
CfnFilter.FindingCriteriaProperty.Builder |
itemType(IResolvable itemType)
Sets the value of
CfnFilter.FindingCriteriaProperty.getItemType() |
public CfnFilter.FindingCriteriaProperty.Builder criterion(java.lang.Object criterion)
CfnFilter.FindingCriteriaProperty.getCriterion()
criterion
- Represents a map of finding properties that match specified conditions and values when querying findings.
For a mapping of JSON criterion to their console equivalent see Finding criteria . The following are the available criterion:
When this attribute is set to TRUE, only archived findings are listed. When it's set to FALSE, only unarchived findings are listed. When this attribute is not set, all existing findings are listed.
Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds.
this
public CfnFilter.FindingCriteriaProperty.Builder itemType(IResolvable itemType)
CfnFilter.FindingCriteriaProperty.getItemType()
itemType
- Specifies the condition to be applied to a single field when filtering through findings.this
public CfnFilter.FindingCriteriaProperty.Builder itemType(CfnFilter.ConditionProperty itemType)
CfnFilter.FindingCriteriaProperty.getItemType()
itemType
- Specifies the condition to be applied to a single field when filtering through findings.this
public CfnFilter.FindingCriteriaProperty build()
CfnFilter.FindingCriteriaProperty
java.lang.NullPointerException
- if any required attribute was not provided