Interface ConditionalSplitActivity.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConditionalSplitActivity.Builder,ConditionalSplitActivity>, SdkBuilder<ConditionalSplitActivity.Builder,ConditionalSplitActivity>, SdkPojo
Enclosing class:
ConditionalSplitActivity

public static interface ConditionalSplitActivity.Builder extends SdkPojo, CopyableBuilder<ConditionalSplitActivity.Builder,ConditionalSplitActivity>
  • Method Details

    • condition

      The conditions that define the paths for the activity, and the relationship between the conditions.

      Parameters:
      condition - The conditions that define the paths for the activity, and the relationship between the conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • condition

      The conditions that define the paths for the activity, and the relationship between the conditions.

      This is a convenience method that creates an instance of the Condition.Builder avoiding the need to create one manually via Condition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to condition(Condition).

      Parameters:
      condition - a consumer that will call methods on Condition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationWaitTime

      ConditionalSplitActivity.Builder evaluationWaitTime(WaitTime evaluationWaitTime)

      The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.

      Parameters:
      evaluationWaitTime - The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationWaitTime

      default ConditionalSplitActivity.Builder evaluationWaitTime(Consumer<WaitTime.Builder> evaluationWaitTime)

      The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.

      This is a convenience method that creates an instance of the WaitTime.Builder avoiding the need to create one manually via WaitTime.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluationWaitTime(WaitTime).

      Parameters:
      evaluationWaitTime - a consumer that will call methods on WaitTime.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • falseActivity

      ConditionalSplitActivity.Builder falseActivity(String falseActivity)

      The unique identifier for the activity to perform if the conditions aren't met.

      Parameters:
      falseActivity - The unique identifier for the activity to perform if the conditions aren't met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trueActivity

      ConditionalSplitActivity.Builder trueActivity(String trueActivity)

      The unique identifier for the activity to perform if the conditions are met.

      Parameters:
      trueActivity - The unique identifier for the activity to perform if the conditions are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.