public static interface Event.Builder extends CopyableBuilder<Event.Builder,Event>
Modifier and Type | Method and Description |
---|---|
Event.Builder |
date(Instant date)
The date and time of the event.
|
Event.Builder |
eventCategories(Collection<String> eventCategories)
A list of the event categories.
|
Event.Builder |
eventCategories(String... eventCategories)
A list of the event categories.
|
Event.Builder |
eventId(String eventId)
The identifier of the event.
|
Event.Builder |
message(String message)
The text of this event.
|
Event.Builder |
severity(String severity)
The severity of the event.
|
Event.Builder |
sourceIdentifier(String sourceIdentifier)
The identifier for the source of the event.
|
Event.Builder |
sourceType(SourceType sourceType)
The source type for this event.
|
Event.Builder |
sourceType(String sourceType)
The source type for this event.
|
copy
applyMutation, build
Event.Builder sourceIdentifier(String sourceIdentifier)
The identifier for the source of the event.
sourceIdentifier
- The identifier for the source of the event.Event.Builder sourceType(String sourceType)
The source type for this event.
sourceType
- The source type for this event.SourceType
,
SourceType
Event.Builder sourceType(SourceType sourceType)
The source type for this event.
sourceType
- The source type for this event.SourceType
,
SourceType
Event.Builder message(String message)
The text of this event.
message
- The text of this event.Event.Builder eventCategories(Collection<String> eventCategories)
A list of the event categories.
Values: Configuration, Management, Monitoring, Security
eventCategories
- A list of the event categories.
Values: Configuration, Management, Monitoring, Security
Event.Builder eventCategories(String... eventCategories)
A list of the event categories.
Values: Configuration, Management, Monitoring, Security
eventCategories
- A list of the event categories.
Values: Configuration, Management, Monitoring, Security
Event.Builder severity(String severity)
The severity of the event.
Values: ERROR, INFO
severity
- The severity of the event.
Values: ERROR, INFO
Event.Builder date(Instant date)
The date and time of the event.
date
- The date and time of the event.Event.Builder eventId(String eventId)
The identifier of the event.
eventId
- The identifier of the event.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.