Interface HoldoutActivity.Builder

    • Method Detail

      • 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.