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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartCondition.Builderdescription(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.StartCondition.BuildereventStartCondition(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.StartCondition.BuildersegmentStartCondition(SegmentCondition segmentStartCondition)The segment that's associated with the first activity in the journey.-
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
-
description
StartCondition.Builder description(String 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
StartCondition.Builder eventStartCondition(EventStartCondition 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:
eventStartCondition(EventStartCondition)
-
segmentStartCondition
StartCondition.Builder segmentStartCondition(SegmentCondition 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:
segmentStartCondition(SegmentCondition)
-
-