Interface JourneyLimits.Builder

    • Method Detail

      • dailyCap

        JourneyLimits.Builder dailyCap​(Integer dailyCap)

        The maximum number of messages that the journey can send to a single participant during a 24-hour period. The maximum value is 100.

        Parameters:
        dailyCap - The maximum number of messages that the journey can send to a single participant during a 24-hour period. The maximum value is 100.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointReentryCap

        JourneyLimits.Builder endpointReentryCap​(Integer endpointReentryCap)

        The maximum number of times that a participant can enter the journey. The maximum value is 100. To allow participants to enter the journey an unlimited number of times, set this value to 0.

        Parameters:
        endpointReentryCap - The maximum number of times that a participant can enter the journey. The maximum value is 100. To allow participants to enter the journey an unlimited number of times, set this value to 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • messagesPerSecond

        JourneyLimits.Builder messagesPerSecond​(Integer messagesPerSecond)

        The maximum number of messages that the journey can send each second.

        Parameters:
        messagesPerSecond - The maximum number of messages that the journey can send each second.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointReentryInterval

        JourneyLimits.Builder endpointReentryInterval​(String endpointReentryInterval)

        Minimum time that must pass before an endpoint can re-enter a given journey. The duration should use an ISO 8601 format, such as PT1H.

        Parameters:
        endpointReentryInterval - Minimum time that must pass before an endpoint can re-enter a given journey. The duration should use an ISO 8601 format, such as PT1H.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeframeCap

        JourneyLimits.Builder timeframeCap​(JourneyTimeframeCap timeframeCap)

        The number of messages that an endpoint can receive during the specified timeframe.

        Parameters:
        timeframeCap - The number of messages that an endpoint can receive during the specified timeframe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalCap

        JourneyLimits.Builder totalCap​(Integer totalCap)

        The maximum number of messages a journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.

        Parameters:
        totalCap - The maximum number of messages a journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.
        Returns:
        Returns a reference to this object so that method calls can be chained together.