Class SdkvoiceSipRuleArgs.Builder

  • Enclosing class:
    SdkvoiceSipRuleArgs

    public static final class SdkvoiceSipRuleArgs.Builder
    extends java.lang.Object
    • Method Detail

      • disabled

        public SdkvoiceSipRuleArgs.Builder disabled​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> disabled)
        Parameters:
        disabled - Enables or disables a rule. You must disable rules before you can delete them.
        Returns:
        builder
      • disabled

        public SdkvoiceSipRuleArgs.Builder disabled​(java.lang.Boolean disabled)
        Parameters:
        disabled - Enables or disables a rule. You must disable rules before you can delete them.
        Returns:
        builder
      • name

        public SdkvoiceSipRuleArgs.Builder name​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the SIP rule.
        Returns:
        builder
      • name

        public SdkvoiceSipRuleArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the SIP rule.
        Returns:
        builder
      • region

        public SdkvoiceSipRuleArgs.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public SdkvoiceSipRuleArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • targetApplications

        public SdkvoiceSipRuleArgs.Builder targetApplications​(com.pulumi.core.Output<java.util.List<SdkvoiceSipRuleTargetApplicationArgs>> targetApplications)
        Parameters:
        targetApplications - List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
        Returns:
        builder
      • targetApplications

        public SdkvoiceSipRuleArgs.Builder targetApplications​(java.util.List<SdkvoiceSipRuleTargetApplicationArgs> targetApplications)
        Parameters:
        targetApplications - List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
        Returns:
        builder
      • targetApplications

        public SdkvoiceSipRuleArgs.Builder targetApplications​(SdkvoiceSipRuleTargetApplicationArgs... targetApplications)
        Parameters:
        targetApplications - List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
        Returns:
        builder
      • triggerType

        public SdkvoiceSipRuleArgs.Builder triggerType​(com.pulumi.core.Output<java.lang.String> triggerType)
        Parameters:
        triggerType - The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
        Returns:
        builder
      • triggerType

        public SdkvoiceSipRuleArgs.Builder triggerType​(java.lang.String triggerType)
        Parameters:
        triggerType - The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
        Returns:
        builder
      • triggerValue

        public SdkvoiceSipRuleArgs.Builder triggerValue​(com.pulumi.core.Output<java.lang.String> triggerValue)
        Parameters:
        triggerValue - If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule 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. The following arguments are optional:
        Returns:
        builder
      • triggerValue

        public SdkvoiceSipRuleArgs.Builder triggerValue​(java.lang.String triggerValue)
        Parameters:
        triggerValue - If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule 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. The following arguments are optional:
        Returns:
        builder