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) |
Specifies the date and time of the event.
|
Event.Builder |
eventCategories(String... eventCategories) |
Specifies the category for the event.
|
Event.Builder |
eventCategories(Collection<String> eventCategories) |
Specifies the category for the event.
|
Event.Builder |
message(String message) |
Provides the text of this event.
|
Event.Builder |
sourceArn(String sourceArn) |
The Amazon Resource Name (ARN) for the event.
|
Event.Builder |
sourceIdentifier(String sourceIdentifier) |
Provides the identifier for the source of the event.
|
Event.Builder |
sourceType(String sourceType) |
Specifies the source type for this event.
|
Event.Builder |
sourceType(SourceType sourceType) |
Specifies the source type for this event.
|
copyapply, buildEvent.Builder sourceIdentifier(String sourceIdentifier)
Provides the identifier for the source of the event.
sourceIdentifier - Provides the identifier for the source of the event.Event.Builder sourceType(String sourceType)
Specifies the source type for this event.
sourceType - Specifies the source type for this event.SourceTypeEvent.Builder sourceType(SourceType sourceType)
Specifies the source type for this event.
sourceType - Specifies the source type for this event.SourceTypeEvent.Builder message(String message)
Provides the text of this event.
message - Provides the text of this event.Event.Builder eventCategories(Collection<String> eventCategories)
Specifies the category for the event.
eventCategories - Specifies the category for the event.Event.Builder eventCategories(String... eventCategories)
Specifies the category for the event.
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 - Specifies the category for the event.Event.Builder date(Date dateValue)
Specifies the date and time of the event.
dateValue - Specifies the date and time of the event.Event.Builder sourceArn(String sourceArn)
The Amazon Resource Name (ARN) for the event.
sourceArn - The Amazon Resource Name (ARN) for the event.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.