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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventCategoriesMap.Builderevents(Collection<EventInfoMap> events)The events in the event category.EventCategoriesMap.Builderevents(Consumer<EventInfoMap.Builder>... events)The events in the event category.EventCategoriesMap.Builderevents(EventInfoMap... events)The events in the event category.EventCategoriesMap.BuildersourceType(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 Detail
-
sourceType
EventCategoriesMap.Builder sourceType(String 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
EventCategoriesMap.Builder events(Collection<EventInfoMap> 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
EventCategoriesMap.Builder events(EventInfoMap... 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
EventCategoriesMap.Builder events(Consumer<EventInfoMap.Builder>... events)
The events in the event category.
This is a convenience method that creates an instance of theEventInfoMap.Builderavoiding the need to create one manually viaEventInfoMap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - 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:
#events(java.util.Collection)
-
-