Interface EventStartCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventStartCondition.Builder,
,EventStartCondition> SdkBuilder<EventStartCondition.Builder,
,EventStartCondition> SdkPojo
- Enclosing class:
EventStartCondition
public static interface EventStartCondition.Builder
extends SdkPojo, CopyableBuilder<EventStartCondition.Builder,EventStartCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventStartCondition.Builder
eventFilter
(Consumer<EventFilter.Builder> eventFilter) Sets the value of the EventFilter property for this object.eventFilter
(EventFilter eventFilter) Sets the value of the EventFilter property for this object.Sets the value of the SegmentId property for this object.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
-
eventFilter
Sets the value of the EventFilter property for this object.- Parameters:
eventFilter
- The new value for the EventFilter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventFilter
Sets the value of the EventFilter property for this object. This is a convenience method that creates an instance of theEventFilter.Builder
avoiding the need to create one manually viaEventFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventFilter(EventFilter)
.- Parameters:
eventFilter
- a consumer that will call methods onEventFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentId
Sets the value of the SegmentId property for this object.- Parameters:
segmentId
- The new value for the SegmentId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-