@Stability(value=Stable) public static final class EventBridgePutEventsEntry.Builder extends Object implements software.amazon.jsii.Builder<EventBridgePutEventsEntry>
EventBridgePutEventsEntry| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EventBridgePutEventsEntry |
build()
Builds the configured instance.
|
EventBridgePutEventsEntry.Builder |
detail(TaskInput detail)
Sets the value of
EventBridgePutEventsEntry.getDetail() |
EventBridgePutEventsEntry.Builder |
detailType(String detailType)
Sets the value of
EventBridgePutEventsEntry.getDetailType() |
EventBridgePutEventsEntry.Builder |
eventBus(IEventBus eventBus)
Sets the value of
EventBridgePutEventsEntry.getEventBus() |
EventBridgePutEventsEntry.Builder |
source(String source)
Sets the value of
EventBridgePutEventsEntry.getSource() |
@Stability(value=Stable) public EventBridgePutEventsEntry.Builder detail(TaskInput detail)
EventBridgePutEventsEntry.getDetail()detail - The event body. This parameter is required.
Can either be provided as an object or as a JSON-serialized stringthis@Stability(value=Stable) public EventBridgePutEventsEntry.Builder detailType(String detailType)
EventBridgePutEventsEntry.getDetailType()detailType - Used along with the source field to help identify the fields and values expected in the detail field. This parameter is required.
For example, events by CloudTrail have detail type "AWS API Call via CloudTrail"this@Stability(value=Stable) public EventBridgePutEventsEntry.Builder source(String source)
EventBridgePutEventsEntry.getSource()source - The service or application that caused this event to be generated. This parameter is required.
Example value: com.example.servicethis@Stability(value=Stable) public EventBridgePutEventsEntry.Builder eventBus(IEventBus eventBus)
EventBridgePutEventsEntry.getEventBus()eventBus - The event bus the entry will be sent to.this@Stability(value=Stable) public EventBridgePutEventsEntry build()
build in interface software.amazon.jsii.Builder<EventBridgePutEventsEntry>EventBridgePutEventsEntryNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.