Interface EventStartCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventStartCondition.Builder,,EventStartCondition> SdkBuilder<EventStartCondition.Builder,,EventStartCondition> SdkPojo
- Enclosing class:
EventStartCondition
@Mutable
@NotThreadSafe
public static interface EventStartCondition.Builder
extends SdkPojo, CopyableBuilder<EventStartCondition.Builder,EventStartCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventStartCondition.BuildereventFilter(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
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.
-