@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The collection of event patterns used to filter events.
To remove a filter, specify a FilterCriteria object with an empty array of Filter objects.
For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
| Constructor and Description |
|---|
FilterCriteria() |
| Modifier and Type | Method and Description |
|---|---|
FilterCriteria |
clone() |
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
The event patterns.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFilters(Collection<Filter> filters)
The event patterns.
|
String |
toString()
Returns a string representation of this object.
|
FilterCriteria |
withFilters(Collection<Filter> filters)
The event patterns.
|
FilterCriteria |
withFilters(Filter... filters)
The event patterns.
|
public void setFilters(Collection<Filter> filters)
The event patterns.
filters - The event patterns.public FilterCriteria withFilters(Filter... filters)
The event patterns.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
filters - The event patterns.public FilterCriteria withFilters(Collection<Filter> filters)
The event patterns.
filters - The event patterns.public String toString()
toString in class ObjectObject.toString()public FilterCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.