Interface SystemEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SystemEvent.Builder,,SystemEvent> SdkBuilder<SystemEvent.Builder,,SystemEvent> SdkPojo
- Enclosing class:
SystemEvent
@Mutable
@NotThreadSafe
public static interface SystemEvent.Builder
extends SdkPojo, CopyableBuilder<SystemEvent.Builder,SystemEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SystemEvent.Builderactor(Consumer<EventActor.Builder> actor) The actor that triggered the event.actor(EventActor actor) The actor that triggered the event.default SystemEvent.BuildereventDetails(Consumer<SystemEventDetails.Builder> eventDetails) The details of the event.eventDetails(SystemEventDetails eventDetails) The details of the event.The unique identifier of the event.The type of the event.eventType(SystemEventType eventType) The type of the event.Sets the value of the SystemArn property for this object.The timestamp of the event.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
-
eventId
The unique identifier of the event.
- Parameters:
eventId- The unique identifier of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The timestamp of the event.
- Parameters:
timestamp- The timestamp of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The type of the event.
- Parameters:
eventType- The type of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The type of the event.
- Parameters:
eventType- The type of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
systemArn
Sets the value of the SystemArn property for this object.- Parameters:
systemArn- The new value for the SystemArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actor
The actor that triggered the event.
- Parameters:
actor- The actor that triggered the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actor
The actor that triggered the event.
This is a convenience method that creates an instance of theEventActor.Builderavoiding the need to create one manually viaEventActor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactor(EventActor).- Parameters:
actor- a consumer that will call methods onEventActor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventDetails
The details of the event.
- Parameters:
eventDetails- The details of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDetails
The details of the event.
This is a convenience method that creates an instance of theSystemEventDetails.Builderavoiding the need to create one manually viaSystemEventDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventDetails(SystemEventDetails).- Parameters:
eventDetails- a consumer that will call methods onSystemEventDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-