public static interface EventCategoriesMap.Builder extends SdkPojo, 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEventCategoriesMap.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 method that creates an instance of theEventInfoMap.Builder avoiding the need to create one
manually via EventInfoMap.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #events(List.
events - a consumer that will call methods on
EventInfoMap.Builder#events(java.util.Collection) Copyright © 2022. All rights reserved.