public static interface TestEventPatternRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<TestEventPatternRequest.Builder,TestEventPatternRequest>
Modifier and Type | Method and Description |
---|---|
TestEventPatternRequest.Builder |
event(String event)
The event, in JSON format, to test against the event pattern.
|
TestEventPatternRequest.Builder |
eventPattern(String eventPattern)
The event pattern.
|
TestEventPatternRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
TestEventPatternRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
TestEventPatternRequest.Builder eventPattern(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.TestEventPatternRequest.Builder event(String event)
The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in AWS 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 AWS
Events, and the following fields are mandatory:
id
account
source
time
region
resources
detail-type
TestEventPatternRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.TestEventPatternRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.