@Generated(value="software.amazon.awssdk:codegen") public final class FindingFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FindingFilter.Builder,FindingFilter>
This data type is used as a request parameter in the ListFindings action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FindingFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<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.
|
List<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.
|
List<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.
|
static FindingFilter.Builder |
builder() |
TimestampRange |
creationTimeRange()
The time range during which the finding is generated.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAgentIds()
Returns true if the AgentIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasAttributes()
Returns true if the Attributes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasAutoScalingGroups()
Returns true if the AutoScalingGroups property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRuleNames()
Returns true if the RuleNames property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasRulesPackageArns()
Returns true if the RulesPackageArns property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSeverities()
Returns true if the Severities property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasUserAttributes()
Returns true if the UserAttributes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<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.
|
List<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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FindingFilter.Builder> |
serializableBuilderClass() |
List<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.
|
List<String> |
severitiesAsStrings()
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.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAgentIds()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAgentIds() to see if a value was sent in this field.
public final boolean hasAutoScalingGroups()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAutoScalingGroups() to see if a value was sent in this field.
public final boolean hasRuleNames()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRuleNames() to see if a value was sent in this field.
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSeverities() to see if a value was sent in this field.
public final boolean hasSeverities()
public final List<String> severitiesAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSeverities() to see if a value was sent in this field.
public final boolean hasRulesPackageArns()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRulesPackageArns() to see if a value was sent in this field.
public final boolean hasAttributes()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributes() to see if a value was sent in this field.
public final boolean hasUserAttributes()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUserAttributes() to see if a value was sent in this field.
public final TimestampRange creationTimeRange()
The time range during which the finding is generated.
public FindingFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FindingFilter.Builder,FindingFilter>public static FindingFilter.Builder builder()
public static Class<? extends FindingFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.