public static interface EventCategoriesMap.Builder extends CopyableBuilder<EventCategoriesMap.Builder,EventCategoriesMap>
Modifier and Type | Method and Description |
---|---|
EventCategoriesMap.Builder |
events(Collection<EventInfoMap> events)
The events in the event category.
|
EventCategoriesMap.Builder |
events(Consumer<EventInfoMap.Builder>... events)
The events in the event category.
|
EventCategoriesMap.Builder |
events(EventInfoMap... events)
The events in the event category.
|
EventCategoriesMap.Builder |
sourceType(String sourceType)
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
|
copy
applyMutation, build
EventCategoriesMap.Builder sourceType(String sourceType)
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
sourceType
- The source type, such as cluster or cluster-snapshot, that the returned categories belong to.EventCategoriesMap.Builder events(Collection<EventInfoMap> events)
The events in the event category.
events
- The events in the event category.EventCategoriesMap.Builder events(EventInfoMap... events)
The events in the event category.
events
- The events in the event category.EventCategoriesMap.Builder events(Consumer<EventInfoMap.Builder>... events)
The events in the event category.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #events(List)
.events
- a consumer that will call methods on List.Builder
#events(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.