Interface Event.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Event.Builder,Event>,SdkBuilder<Event.Builder,Event>,SdkPojo
- Enclosing class:
- Event
public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Event.Builderdate(Instant date)The date and time of the event.Event.BuildereventCategories(String... eventCategories)A list of the event categories.Event.BuildereventCategories(Collection<String> eventCategories)A list of the event categories.Event.BuildereventId(String eventId)The identifier of the event.Event.Buildermessage(String message)The text of this event.Event.Builderseverity(String severity)The severity of the event.Event.BuildersourceIdentifier(String sourceIdentifier)The identifier for the source of the event.Event.BuildersourceType(String sourceType)The source type for this event.Event.BuildersourceType(SourceType sourceType)The source type for this 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
-
sourceIdentifier
Event.Builder sourceIdentifier(String sourceIdentifier)
The identifier for the source of the event.
- Parameters:
sourceIdentifier- The identifier for the source of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
Event.Builder sourceType(String sourceType)
The source type for this event.
- Parameters:
sourceType- The source type for this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
sourceType
Event.Builder sourceType(SourceType sourceType)
The source type for this event.
- Parameters:
sourceType- The source type for this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
message
Event.Builder message(String message)
The text of this event.
- Parameters:
message- The text of this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategories
Event.Builder eventCategories(Collection<String> eventCategories)
A list of the event categories.
Values: Configuration, Management, Monitoring, Security, Pending
- Parameters:
eventCategories- A list of the event categories.Values: Configuration, Management, Monitoring, Security, Pending
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategories
Event.Builder eventCategories(String... eventCategories)
A list of the event categories.
Values: Configuration, Management, Monitoring, Security, Pending
- Parameters:
eventCategories- A list of the event categories.Values: Configuration, Management, Monitoring, Security, Pending
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
Event.Builder severity(String severity)
The severity of the event.
Values: ERROR, INFO
- Parameters:
severity- The severity of the event.Values: ERROR, INFO
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
date
Event.Builder date(Instant date)
The date and time of the event.
- Parameters:
date- The date and time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
Event.Builder eventId(String eventId)
The identifier of the event.
- Parameters:
eventId- The identifier of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-