public static interface Event.Builder extends CopyableBuilder<Event.Builder,Event>
Modifier and Type | Method and Description |
---|---|
Event.Builder |
date(Instant date)
Specifies the date and time of the event.
|
Event.Builder |
eventCategories(Collection<String> eventCategories)
Specifies the category for the event.
|
Event.Builder |
eventCategories(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(SourceType sourceType)
Specifies the source type for this event.
|
Event.Builder |
sourceType(String sourceType)
Specifies the source type for this event.
|
copy
applyMutation, build
Event.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.SourceType
,
SourceType
Event.Builder sourceType(SourceType sourceType)
Specifies the source type for this event.
sourceType
- Specifies the source type for this event.SourceType
,
SourceType
Event.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.
eventCategories
- Specifies the category for the event.Event.Builder date(Instant date)
Specifies the date and time of the event.
date
- 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.