@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()
For responses, this returns true if the service returned a value for the AgentIds property.
|
boolean |
hasAttributes()
For responses, this returns true if the service returned a value for the Attributes property.
|
boolean |
hasAutoScalingGroups()
For responses, this returns true if the service returned a value for the AutoScalingGroups property.
|
int |
hashCode() |
boolean |
hasRuleNames()
For responses, this returns true if the service returned a value for the RuleNames property.
|
boolean |
hasRulesPackageArns()
For responses, this returns true if the service returned a value for the RulesPackageArns property.
|
boolean |
hasSeverities()
For responses, this returns true if the service returned a value for the Severities property.
|
boolean |
hasUserAttributes()
For responses, this returns true if the service returned a value for the UserAttributes property.
|
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAgentIds() method.
public final boolean hasAutoScalingGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAutoScalingGroups() method.
public final boolean hasRuleNames()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRuleNames() method.
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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSeverities() method.
public final boolean hasSeverities()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSeverities() method.
public final boolean hasRulesPackageArns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRulesPackageArns() method.
public final boolean hasAttributes()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAttributes() method.
public final boolean hasUserAttributes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUserAttributes() method.
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 © 2023. All rights reserved.