Interface PutEventsRequestEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PutEventsRequestEntry.Builder,
,PutEventsRequestEntry> SdkBuilder<PutEventsRequestEntry.Builder,
,PutEventsRequestEntry> SdkPojo
- Enclosing class:
PutEventsRequestEntry
-
Method Summary
Modifier and TypeMethodDescriptionA valid JSON object.detailType
(String detailType) Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.eventBusName
(String eventBusName) The name or ARN of the event bus to receive the event.Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.resources
(Collection<String> resources) Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.The source of the event.The time stamp of the event, per RFC3339.traceHeader
(String traceHeader) An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
time
-
source
The source of the event.
Detail
,DetailType
, andSource
are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.- Parameters:
source
- The source of the event.Detail
,DetailType
, andSource
are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
- Parameters:
resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
- Parameters:
resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailType
Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
Detail
,DetailType
, andSource
are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.- Parameters:
detailType
- Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.Detail
,DetailType
, andSource
are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested sub-objects.
Detail
,DetailType
, andSource
are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.- Parameters:
detail
- A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested sub-objects.Detail
,DetailType
, andSource
are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusName
The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used.
If you're using a global endpoint with a custom bus, you can enter either the name or Amazon Resource Name (ARN) of the event bus in either the primary or secondary Region here. EventBridge then determines the corresponding event bus in the other Region based on the endpoint referenced by the
EndpointId
. Specifying the event bus ARN is preferred.- Parameters:
eventBusName
- The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used.If you're using a global endpoint with a custom bus, you can enter either the name or Amazon Resource Name (ARN) of the event bus in either the primary or secondary Region here. EventBridge then determines the corresponding event bus in the other Region based on the endpoint referenced by the
EndpointId
. Specifying the event bus ARN is preferred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceHeader
An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.
To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide.
- Parameters:
traceHeader
- An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-