Interface StartCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StartCondition.Builder,,StartCondition> SdkBuilder<StartCondition.Builder,,StartCondition> SdkPojo
- Enclosing class:
StartCondition
public static interface StartCondition.Builder
extends SdkPojo, CopyableBuilder<StartCondition.Builder,StartCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The custom description of the condition.default StartCondition.BuildereventStartCondition(Consumer<EventStartCondition.Builder> eventStartCondition) Sets the value of the EventStartCondition property for this object.eventStartCondition(EventStartCondition eventStartCondition) Sets the value of the EventStartCondition property for this object.default StartCondition.BuildersegmentStartCondition(Consumer<SegmentCondition.Builder> segmentStartCondition) The segment that's associated with the first activity in the journey.segmentStartCondition(SegmentCondition segmentStartCondition) The segment that's associated with the first activity in the journey.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, sdkFields
-
Method Details
-
description
The custom description of the condition.
- Parameters:
description- The custom description of the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStartCondition
Sets the value of the EventStartCondition property for this object.- Parameters:
eventStartCondition- The new value for the EventStartCondition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStartCondition
default StartCondition.Builder eventStartCondition(Consumer<EventStartCondition.Builder> eventStartCondition) Sets the value of the EventStartCondition property for this object. This is a convenience method that creates an instance of theEventStartCondition.Builderavoiding the need to create one manually viaEventStartCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventStartCondition(EventStartCondition).- Parameters:
eventStartCondition- a consumer that will call methods onEventStartCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentStartCondition
The segment that's associated with the first activity in the journey. This segment determines which users are participants in the journey.
- Parameters:
segmentStartCondition- The segment that's associated with the first activity in the journey. This segment determines which users are participants in the journey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentStartCondition
default StartCondition.Builder segmentStartCondition(Consumer<SegmentCondition.Builder> segmentStartCondition) The segment that's associated with the first activity in the journey. This segment determines which users are participants in the journey.
This is a convenience method that creates an instance of theSegmentCondition.Builderavoiding the need to create one manually viaSegmentCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosegmentStartCondition(SegmentCondition).- Parameters:
segmentStartCondition- a consumer that will call methods onSegmentCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-