@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Filter events using an event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getPattern()
The event pattern.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPattern(String pattern)
The event pattern.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withPattern(String pattern)
The event pattern.
|
public void setPattern(String pattern)
The event pattern.
pattern
- The event pattern.public String getPattern()
The event pattern.
public Filter withPattern(String pattern)
The event pattern.
pattern
- The event pattern.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.