public class TestEventPatternRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Container for the parameters to the TestEventPattern operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
event
The event in the JSON format to test against the event pattern.
|
private java.lang.String |
eventPattern
The event pattern you want to test.
|
NOOP
Constructor and Description |
---|
TestEventPatternRequest() |
Modifier and Type | Method and Description |
---|---|
TestEventPatternRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEvent()
The event in the JSON format to test against the event pattern.
|
java.lang.String |
getEventPattern()
The event pattern you want to test.
|
int |
hashCode() |
void |
setEvent(java.lang.String event)
The event in the JSON format to test against the event pattern.
|
void |
setEventPattern(java.lang.String eventPattern)
The event pattern you want to test.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestEventPatternRequest |
withEvent(java.lang.String event)
The event in the JSON format to test against the event pattern.
|
TestEventPatternRequest |
withEventPattern(java.lang.String eventPattern)
The event pattern you want to test.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String eventPattern
The event pattern you want to test.
private java.lang.String event
The event in the JSON format to test against the event pattern.
public void setEventPattern(java.lang.String eventPattern)
The event pattern you want to test.
eventPattern
- The event pattern you want to test.public java.lang.String getEventPattern()
The event pattern you want to test.
public TestEventPatternRequest withEventPattern(java.lang.String eventPattern)
The event pattern you want to test.
eventPattern
- The event pattern you want to test.public void setEvent(java.lang.String event)
The event in the JSON format to test against the event pattern.
event
- The event in the JSON format to test against the event pattern.public java.lang.String getEvent()
The event in the JSON format to test against the event pattern.
public TestEventPatternRequest withEvent(java.lang.String event)
The event in the JSON format to test against the event pattern.
event
- The event in the JSON format to test against the event pattern.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TestEventPatternRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()