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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EventStartCondition.BuildereventFilter(Consumer<EventFilter.Builder> eventFilter)Sets the value of the EventFilter property for this object.EventStartCondition.BuildereventFilter(EventFilter eventFilter)Sets the value of the EventFilter property for this object.EventStartCondition.BuildersegmentId(String segmentId)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 Detail
-
eventFilter
EventStartCondition.Builder eventFilter(EventFilter 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
default EventStartCondition.Builder eventFilter(Consumer<EventFilter.Builder> eventFilter)
Sets the value of the EventFilter property for this object. This is a convenience method that creates an instance of theEventFilter.Builderavoiding the need to create one manually viaEventFilter.builder().When the
Consumercompletes,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:
eventFilter(EventFilter)
-
segmentId
EventStartCondition.Builder segmentId(String 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.
-
-