Interface PutEventsRequestEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>,SdkBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>,SdkPojo
- Enclosing class:
- PutEventsRequestEntry
public static interface PutEventsRequestEntry.Builder extends SdkPojo, CopyableBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutEventsRequestEntry.Builderdetail(String detail)A valid JSON string.PutEventsRequestEntry.BuilderdetailType(String detailType)Free-form string used to decide what fields to expect in the event detail.PutEventsRequestEntry.BuildereventBusName(String eventBusName)The name or ARN of the event bus to receive the event.PutEventsRequestEntry.Builderresources(String... resources)Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.PutEventsRequestEntry.Builderresources(Collection<String> resources)Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.PutEventsRequestEntry.Buildersource(String source)The source of the event.PutEventsRequestEntry.Buildertime(Instant time)The time stamp of the event, per RFC3339.PutEventsRequestEntry.BuildertraceHeader(String traceHeader)An X-Ray trade 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 Detail
-
time
PutEventsRequestEntry.Builder time(Instant time)
-
source
PutEventsRequestEntry.Builder source(String source)
The source of the event.
- Parameters:
source- The source of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
PutEventsRequestEntry.Builder resources(Collection<String> 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
PutEventsRequestEntry.Builder resources(String... 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
PutEventsRequestEntry.Builder detailType(String detailType)
Free-form string used to decide what fields to expect in the event detail.
- Parameters:
detailType- Free-form string used to decide what fields to expect in the event detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
PutEventsRequestEntry.Builder detail(String detail)
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.
- Parameters:
detail- A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusName
PutEventsRequestEntry.Builder eventBusName(String 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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceHeader
PutEventsRequestEntry.Builder traceHeader(String traceHeader)
An X-Ray trade 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 trade 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.
-
-