Interface SipRule.Builder

    • Method Detail

      • sipRuleId

        SipRule.Builder sipRuleId​(String sipRuleId)

        A SIP rule's ID.

        Parameters:
        sipRuleId - A SIP rule's ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        SipRule.Builder name​(String name)

        A SIP rule's name.

        Parameters:
        name - A SIP rule's name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disabled

        SipRule.Builder disabled​(Boolean disabled)

        Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it.

        Parameters:
        disabled - Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • triggerType

        SipRule.Builder triggerType​(String triggerType)

        The type of trigger set for a SIP rule, either a phone number or a URI request host name.

        Parameters:
        triggerType - The type of trigger set for a SIP rule, either a phone number or a URI request host name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SipRuleTriggerType, SipRuleTriggerType
      • triggerType

        SipRule.Builder triggerType​(SipRuleTriggerType triggerType)

        The type of trigger set for a SIP rule, either a phone number or a URI request host name.

        Parameters:
        triggerType - The type of trigger set for a SIP rule, either a phone number or a URI request host name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SipRuleTriggerType, SipRuleTriggerType
      • triggerValue

        SipRule.Builder triggerValue​(String triggerValue)

        The value set for a SIP rule's trigger type. Either a phone number or a URI hostname.

        Parameters:
        triggerValue - The value set for a SIP rule's trigger type. Either a phone number or a URI hostname.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetApplications

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

        The target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS Region can be provided.

        Parameters:
        targetApplications - The target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS Region can be provided.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetApplications

        SipRule.Builder targetApplications​(SipRuleTargetApplication... targetApplications)

        The target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS Region can be provided.

        Parameters:
        targetApplications - The target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS Region can be provided.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        SipRule.Builder createdTimestamp​(Instant createdTimestamp)

        The time at which the SIP rule was created, in ISO 8601 format.

        Parameters:
        createdTimestamp - The time at which the SIP rule was created, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedTimestamp

        SipRule.Builder updatedTimestamp​(Instant updatedTimestamp)

        The time at which the SIP rule was updated, in ISO 8601 format.

        Parameters:
        updatedTimestamp - The time at which the SIP rule was updated, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.