Interface CreateSipRuleRequest.Builder

    • Method Detail

      • name

        CreateSipRuleRequest.Builder name​(String name)

        The name of the SIP rule.

        Parameters:
        name - The name of the SIP rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • triggerType

        CreateSipRuleRequest.Builder triggerType​(String triggerType)

        The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.

        Parameters:
        triggerType - The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SipRuleTriggerType, SipRuleTriggerType
      • triggerType

        CreateSipRuleRequest.Builder triggerType​(SipRuleTriggerType triggerType)

        The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.

        Parameters:
        triggerType - The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SipRuleTriggerType, SipRuleTriggerType
      • triggerValue

        CreateSipRuleRequest.Builder triggerValue​(String triggerValue)

        If TriggerType is RequestUriHostname, the value can be the outbound host name of a Voice Connector. If TriggerType is ToPhoneNumber, the value can be a customer-owned phone number in the E164 format. The SipMediaApplication specified in the SipRule is triggered if the request URI in an incoming SIP request matches the RequestUriHostname, or if the To header in the incoming SIP request matches the ToPhoneNumber value.

        Parameters:
        triggerValue - If TriggerType is RequestUriHostname, the value can be the outbound host name of a Voice Connector. If TriggerType is ToPhoneNumber, the value can be a customer-owned phone number in the E164 format. The SipMediaApplication specified in the SipRule is triggered if the request URI in an incoming SIP request matches the RequestUriHostname, or if the To header in the incoming SIP request matches the ToPhoneNumber value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disabled

        CreateSipRuleRequest.Builder disabled​(Boolean disabled)

        Disables or enables a SIP rule. You must disable SIP rules before you can delete them.

        Parameters:
        disabled - Disables or enables a SIP rule. You must disable SIP rules before you can delete them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetApplications

        CreateSipRuleRequest.Builder targetApplications​(Collection<SipRuleTargetApplication> targetApplications)

        List of SIP media applications, with priority and AWS Region. Only one SIP application per AWS Region can be used.

        Parameters:
        targetApplications - List of SIP media applications, with priority and AWS Region. Only one SIP application per AWS Region can be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetApplications

        CreateSipRuleRequest.Builder targetApplications​(SipRuleTargetApplication... targetApplications)

        List of SIP media applications, with priority and AWS Region. Only one SIP application per AWS Region can be used.

        Parameters:
        targetApplications - List of SIP media applications, with priority and AWS Region. Only one SIP application per AWS Region can be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.