@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterCriteria extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the filters for an event source.
Constructor and Description |
---|
FilterCriteria() |
Modifier and Type | Method and Description |
---|---|
FilterCriteria |
clone() |
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
A list of filters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilters(Collection<Filter> filters)
A list of filters.
|
String |
toString()
Returns a string representation of this object.
|
FilterCriteria |
withFilters(Collection<Filter> filters)
A list of filters.
|
FilterCriteria |
withFilters(Filter... filters)
A list of filters.
|
public void setFilters(Collection<Filter> filters)
A list of filters.
filters
- A list of filters.public FilterCriteria withFilters(Filter... filters)
A list of filters.
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
- A list of filters.public FilterCriteria withFilters(Collection<Filter> filters)
A list of filters.
filters
- A list of filters.public String toString()
toString
in class Object
Object.toString()
public FilterCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.