Interface PutEventsRequestEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PutEventsRequestEntry.Builder,,PutEventsRequestEntry> SdkBuilder<PutEventsRequestEntry.Builder,,PutEventsRequestEntry> SdkPojo
- Enclosing class:
PutEventsRequestEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe event payload, as a valid JSON string.detailType(String detailType) Free-form detail-type classifying an event within its source.ARNs of resources the event concerns.resources(Collection<String> resources) ARNs of resources the event concerns.The source of the event.default PutEventsRequestEntry.BuildersystemMetadata(Consumer<PutEventsSystemMetadata.Builder> systemMetadata) System metadata for PutEvents entries.systemMetadata(PutEventsSystemMetadata systemMetadata) System metadata for PutEvents entries.The time the event occurred.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
The source of the event. The
aws.value prefix is service-reserved and cannot be used as a value.- Parameters:
source- The source of the event. Theaws.value prefix is service-reserved and cannot be used as a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailType
Free-form detail-type classifying an event within its source.
- Parameters:
detailType- Free-form detail-type classifying an event within its source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
The event payload, as a valid JSON string.
- Parameters:
detail- The event payload, as a valid JSON string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ARNs of resources the event concerns. Included in the event delivered to subscribers.
- Parameters:
resources- ARNs of resources the event concerns. Included in the event delivered to subscribers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ARNs of resources the event concerns. Included in the event delivered to subscribers.
- Parameters:
resources- ARNs of resources the event concerns. Included in the event delivered to subscribers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
The time the event occurred. Defaults to the time the service receives the event when omitted.
- Parameters:
time- The time the event occurred. Defaults to the time the service receives the event when omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemMetadata
System metadata for PutEvents entries. ContentType is not applicable (always application/eventbridge+json, set server-side).
- Parameters:
systemMetadata- System metadata for PutEvents entries. ContentType is not applicable (always application/eventbridge+json, set server-side).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemMetadata
default PutEventsRequestEntry.Builder systemMetadata(Consumer<PutEventsSystemMetadata.Builder> systemMetadata) System metadata for PutEvents entries. ContentType is not applicable (always application/eventbridge+json, set server-side).
This is a convenience method that creates an instance of thePutEventsSystemMetadata.Builderavoiding the need to create one manually viaPutEventsSystemMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemMetadata(PutEventsSystemMetadata).- Parameters:
systemMetadata- a consumer that will call methods onPutEventsSystemMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-