@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestEventPatternRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TestEventPatternRequest() |
Modifier and Type | Method and Description |
---|---|
TestEventPatternRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEvent()
The event, in JSON format, to test against the event pattern.
|
String |
getEventPattern()
The event pattern.
|
int |
hashCode() |
void |
setEvent(String event)
The event, in JSON format, to test against the event pattern.
|
void |
setEventPattern(String eventPattern)
The event pattern.
|
String |
toString()
Returns a string representation of this object.
|
TestEventPatternRequest |
withEvent(String event)
The event, in JSON format, to test against the event pattern.
|
TestEventPatternRequest |
withEventPattern(String eventPattern)
The event pattern.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEventPattern(String eventPattern)
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
eventPattern
- The event pattern. For more information, see Events
and Event Patterns in the Amazon EventBridge User Guide .public String getEventPattern()
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
public TestEventPatternRequest withEventPattern(String eventPattern)
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
eventPattern
- The event pattern. For more information, see Events
and Event Patterns in the Amazon EventBridge User Guide .public void setEvent(String event)
The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:
id
account
source
time
region
resources
detail-type
event
- The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in
Amazon Web Services
Events, and the following fields are mandatory:
id
account
source
time
region
resources
detail-type
public String getEvent()
The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:
id
account
source
time
region
resources
detail-type
id
account
source
time
region
resources
detail-type
public TestEventPatternRequest withEvent(String event)
The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:
id
account
source
time
region
resources
detail-type
event
- The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in
Amazon Web Services
Events, and the following fields are mandatory:
id
account
source
time
region
resources
detail-type
public String toString()
toString
in class Object
Object.toString()
public TestEventPatternRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()