@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() | 
| 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, copyBaseTo, 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, withSdkRequestTimeoutpublic 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 ObjectObject.toString()public TestEventPatternRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.