Interface Termination.Builder

    • Method Detail

      • cpsLimit

        Termination.Builder cpsLimit​(Integer cpsLimit)

        The limit on calls per second. Max value based on account service quota. Default value of 1.

        Parameters:
        cpsLimit - The limit on calls per second. Max value based on account service quota. Default value of 1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultPhoneNumber

        Termination.Builder defaultPhoneNumber​(String defaultPhoneNumber)

        The default outbound calling number.

        Parameters:
        defaultPhoneNumber - The default outbound calling number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • callingRegions

        Termination.Builder callingRegions​(Collection<String> callingRegions)

        The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

        Parameters:
        callingRegions - The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • callingRegions

        Termination.Builder callingRegions​(String... callingRegions)

        The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

        Parameters:
        callingRegions - The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrAllowedList

        Termination.Builder cidrAllowedList​(Collection<String> cidrAllowedList)

        The IP addresses allowed to make calls, in CIDR format.

        Parameters:
        cidrAllowedList - The IP addresses allowed to make calls, in CIDR format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrAllowedList

        Termination.Builder cidrAllowedList​(String... cidrAllowedList)

        The IP addresses allowed to make calls, in CIDR format.

        Parameters:
        cidrAllowedList - The IP addresses allowed to make calls, in CIDR format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disabled

        Termination.Builder disabled​(Boolean disabled)

        When termination is disabled, outbound calls cannot be made.

        Parameters:
        disabled - When termination is disabled, outbound calls cannot be made.
        Returns:
        Returns a reference to this object so that method calls can be chained together.