Interface PutEventsRequestEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PutEventsRequestEntry.Builder,,PutEventsRequestEntry> SdkBuilder<PutEventsRequestEntry.Builder,,PutEventsRequestEntry> SdkPojo
- Enclosing class:
PutEventsRequestEntry
@Mutable
@NotThreadSafe
public static interface PutEventsRequestEntry.Builder
extends SdkPojo, CopyableBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>
-
Method Summary
Modifier and TypeMethodDescriptionThe event payload, as a valid JSON string.detailType(String detailType) Sets the value of the DetailType property for this object.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) Sets the value of the SystemMetadata property for this object.systemMetadata(PutEventsSystemMetadata systemMetadata) Sets the value of the SystemMetadata property for this object.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
Sets the value of the DetailType property for this object.- Parameters:
detailType- The new value for the DetailType property for this object.- 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
Sets the value of the SystemMetadata property for this object.- Parameters:
systemMetadata- The new value for the SystemMetadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemMetadata
default PutEventsRequestEntry.Builder systemMetadata(Consumer<PutEventsSystemMetadata.Builder> systemMetadata) Sets the value of the SystemMetadata property for this object. 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:
-