Interface EventCategoriesMap.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventCategoriesMap.Builder,
,EventCategoriesMap> SdkBuilder<EventCategoriesMap.Builder,
,EventCategoriesMap> SdkPojo
- Enclosing class:
EventCategoriesMap
public static interface EventCategoriesMap.Builder
extends SdkPojo, CopyableBuilder<EventCategoriesMap.Builder,EventCategoriesMap>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<EventInfoMap> events) The events in the event category.events
(Consumer<EventInfoMap.Builder>... events) The events in the event category.events
(EventInfoMap... events) The events in the event category.sourceType
(String sourceType) The source type, such as cluster or cluster-snapshot, that the returned categories belong to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sourceType
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
- Parameters:
sourceType
- The source type, such as cluster or cluster-snapshot, that the returned categories belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events in the event category.
- Parameters:
events
- The events in the event category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events in the event category.
- Parameters:
events
- The events in the event category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaEventInfoMap.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<EventInfoMap>)
.- Parameters:
events
- a consumer that will call methods onEventInfoMap.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-