Interface PutPartnerEventsRequestEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PutPartnerEventsRequestEntry.Builder,PutPartnerEventsRequestEntry>,SdkBuilder<PutPartnerEventsRequestEntry.Builder,PutPartnerEventsRequestEntry>,SdkPojo
- Enclosing class:
- PutPartnerEventsRequestEntry
public static interface PutPartnerEventsRequestEntry.Builder extends SdkPojo, CopyableBuilder<PutPartnerEventsRequestEntry.Builder,PutPartnerEventsRequestEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutPartnerEventsRequestEntry.Builderdetail(String detail)A valid JSON string.PutPartnerEventsRequestEntry.BuilderdetailType(String detailType)A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.PutPartnerEventsRequestEntry.Builderresources(String... resources)Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.PutPartnerEventsRequestEntry.Builderresources(Collection<String> resources)Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.PutPartnerEventsRequestEntry.Buildersource(String source)The event source that is generating the entry.PutPartnerEventsRequestEntry.Buildertime(Instant time)The date and time of 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
PutPartnerEventsRequestEntry.Builder time(Instant time)
The date and time of the event.
- Parameters:
time- The date and time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
PutPartnerEventsRequestEntry.Builder source(String source)
The event source that is generating the entry.
Detail,DetailType, andSourceare 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 event source that is generating the entry.Detail,DetailType, andSourceare 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
PutPartnerEventsRequestEntry.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
PutPartnerEventsRequestEntry.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
PutPartnerEventsRequestEntry.Builder detailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
Detail,DetailType, andSourceare 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- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.Detail,DetailType, andSourceare 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
PutPartnerEventsRequestEntry.Builder detail(String detail)
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.
Detail,DetailType, andSourceare 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 string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.Detail,DetailType, andSourceare 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.
-
-