Interface Limit.Builder

    • Method Detail

      • type

        Limit.Builder type​(String type)

        The type of protection.

        Parameters:
        type - The type of protection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • max

        Limit.Builder max​(Long max)

        The maximum number of protections that can be created for the specified Type.

        Parameters:
        max - The maximum number of protections that can be created for the specified Type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.