Interface WhatsAppCallPermissionLimit.Builder

  • Method Details

    • timePeriod

      The time period over which the limit applies, as an ISO 8601 duration.

      Parameters:
      timePeriod - The time period over which the limit applies, as an ISO 8601 duration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxAllowed

      The maximum number of times the action is allowed within the time period.

      Parameters:
      maxAllowed - The maximum number of times the action is allowed within the time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentUsage

      WhatsAppCallPermissionLimit.Builder currentUsage(Integer currentUsage)

      The number of times the action has been used within the current time period.

      Parameters:
      currentUsage - The number of times the action has been used within the current time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limitExpirationTime

      WhatsAppCallPermissionLimit.Builder limitExpirationTime(Instant limitExpirationTime)

      The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.

      Parameters:
      limitExpirationTime - The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.