Interface FindingFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FindingFilter.Builder,FindingFilter>,SdkBuilder<FindingFilter.Builder,FindingFilter>,SdkPojo
- Enclosing class:
- FindingFilter
public static interface FindingFilter.Builder extends SdkPojo, CopyableBuilder<FindingFilter.Builder,FindingFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FindingFilter.BuilderagentIds(String... agentIds)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.FindingFilter.BuilderagentIds(Collection<String> agentIds)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.FindingFilter.Builderattributes(Collection<Attribute> attributes)For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.FindingFilter.Builderattributes(Consumer<Attribute.Builder>... attributes)For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.FindingFilter.Builderattributes(Attribute... attributes)For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.FindingFilter.BuilderautoScalingGroups(String... autoScalingGroups)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.FindingFilter.BuilderautoScalingGroups(Collection<String> autoScalingGroups)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.default FindingFilter.BuildercreationTimeRange(Consumer<TimestampRange.Builder> creationTimeRange)The time range during which the finding is generated.FindingFilter.BuildercreationTimeRange(TimestampRange creationTimeRange)The time range during which the finding is generated.FindingFilter.BuilderruleNames(String... ruleNames)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.FindingFilter.BuilderruleNames(Collection<String> ruleNames)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.FindingFilter.BuilderrulesPackageArns(String... rulesPackageArns)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.FindingFilter.BuilderrulesPackageArns(Collection<String> rulesPackageArns)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.FindingFilter.Builderseverities(Collection<Severity> severities)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.FindingFilter.Builderseverities(Severity... severities)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.FindingFilter.BuilderseveritiesWithStrings(String... severities)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.FindingFilter.BuilderseveritiesWithStrings(Collection<String> severities)For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.FindingFilter.BuilderuserAttributes(Collection<Attribute> userAttributes)For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.FindingFilter.BuilderuserAttributes(Consumer<Attribute.Builder>... userAttributes)For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.FindingFilter.BuilderuserAttributes(Attribute... userAttributes)For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.-
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
-
agentIds
FindingFilter.Builder agentIds(Collection<String> agentIds)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.
- Parameters:
agentIds- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentIds
FindingFilter.Builder agentIds(String... agentIds)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.
- Parameters:
agentIds- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
FindingFilter.Builder autoScalingGroups(Collection<String> autoScalingGroups)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.
- Parameters:
autoScalingGroups- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
FindingFilter.Builder autoScalingGroups(String... autoScalingGroups)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.
- Parameters:
autoScalingGroups- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleNames
FindingFilter.Builder ruleNames(Collection<String> ruleNames)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
- Parameters:
ruleNames- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleNames
FindingFilter.Builder ruleNames(String... ruleNames)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
- Parameters:
ruleNames- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severitiesWithStrings
FindingFilter.Builder severitiesWithStrings(Collection<String> severities)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
- Parameters:
severities- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severitiesWithStrings
FindingFilter.Builder severitiesWithStrings(String... severities)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
- Parameters:
severities- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severities
FindingFilter.Builder severities(Collection<Severity> severities)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
- Parameters:
severities- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severities
FindingFilter.Builder severities(Severity... severities)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
- Parameters:
severities- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesPackageArns
FindingFilter.Builder rulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
- Parameters:
rulesPackageArns- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesPackageArns
FindingFilter.Builder rulesPackageArns(String... rulesPackageArns)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
- Parameters:
rulesPackageArns- For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
FindingFilter.Builder attributes(Collection<Attribute> attributes)
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.
- Parameters:
attributes- For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
FindingFilter.Builder attributes(Attribute... attributes)
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.
- Parameters:
attributes- For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
FindingFilter.Builder attributes(Consumer<Attribute.Builder>... attributes)
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.
This is a convenience method that creates an instance of theAttribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - Parameters:
attributes- a consumer that will call methods onAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributes(java.util.Collection)
-
userAttributes
FindingFilter.Builder userAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.
- Parameters:
userAttributes- For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAttributes
FindingFilter.Builder userAttributes(Attribute... userAttributes)
For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.
- Parameters:
userAttributes- For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAttributes
FindingFilter.Builder userAttributes(Consumer<Attribute.Builder>... userAttributes)
For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.
This is a convenience method that creates an instance of theAttribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#userAttributes(List.) - Parameters:
userAttributes- a consumer that will call methods onAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#userAttributes(java.util.Collection)
-
creationTimeRange
FindingFilter.Builder creationTimeRange(TimestampRange creationTimeRange)
The time range during which the finding is generated.
- Parameters:
creationTimeRange- The time range during which the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeRange
default FindingFilter.Builder creationTimeRange(Consumer<TimestampRange.Builder> creationTimeRange)
The time range during which the finding is generated.
This is a convenience method that creates an instance of theTimestampRange.Builderavoiding the need to create one manually viaTimestampRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreationTimeRange(TimestampRange).- Parameters:
creationTimeRange- a consumer that will call methods onTimestampRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
creationTimeRange(TimestampRange)
-
-