@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
A structure within a FilterCriteria
object that defines an event filtering pattern.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getPattern()
A filter pattern.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPattern(String pattern)
A filter pattern.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withPattern(String pattern)
A filter pattern.
|
public void setPattern(String pattern)
A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
pattern
- A filter pattern. For more information on the syntax of a filter pattern, see
Filter rule syntax.public String getPattern()
A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
public Filter withPattern(String pattern)
A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
pattern
- A filter pattern. For more information on the syntax of a filter pattern, see
Filter rule syntax.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.