Interface HoldoutActivity.Builder

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

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

    • nextActivity

      HoldoutActivity.Builder nextActivity(String nextActivity)

      The unique identifier for the next activity to perform, after performing the holdout activity.

      Parameters:
      nextActivity - The unique identifier for the next activity to perform, after performing the holdout activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • percentage

      HoldoutActivity.Builder percentage(Integer percentage)

      The percentage of participants who shouldn't continue the journey.

      To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.

      Parameters:
      percentage - The percentage of participants who shouldn't continue the journey.

      To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.

      Returns:
      Returns a reference to this object so that method calls can be chained together.