CopyableBuilder<Event.Builder,Event>, SdkBuilder<Event.Builder,Event>public static interface Event.Builder extends CopyableBuilder<Event.Builder,Event>
| Modifier and Type | Method | Description |
|---|---|---|
Event.Builder |
date(Date dateValue) |
The date and time of the event.
|
Event.Builder |
eventCategories(String... eventCategories) |
A list of the event categories.
|
Event.Builder |
eventCategories(Collection<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(String sourceType) |
The source type for this event.
|
Event.Builder |
sourceType(SourceType sourceType) |
The source type for this event.
|
copyapply, buildEvent.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.SourceTypeEvent.Builder sourceType(SourceType sourceType)
The source type for this event.
sourceType - The source type for this event.SourceTypeEvent.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
NOTE: This method appends the values to the existing list (if any). Use
#setEventCategories(java.util.Collection) or #withEventCategories(java.util.Collection) if
you want to override the existing values.
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(Date dateValue)
The date and time of the event.
dateValue - 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.