@Generated(value="software.amazon.awssdk:codegen") public final class TestEventPatternRequest extends EventBridgeRequest implements ToCopyableBuilder<TestEventPatternRequest.Builder,TestEventPatternRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestEventPatternRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TestEventPatternRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
event()
The event, in JSON format, to test against the event pattern.
|
String |
eventPattern()
The event pattern.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TestEventPatternRequest.Builder> |
serializableBuilderClass() |
TestEventPatternRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String eventPattern()
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
public final 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
id
account
source
time
region
resources
detail-type
public TestEventPatternRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TestEventPatternRequest.Builder,TestEventPatternRequest>toBuilder in class EventBridgeRequestpublic static TestEventPatternRequest.Builder builder()
public static Class<? extends TestEventPatternRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.