Package com.pulumi.aws.chime.inputs
Class SdkvoiceSipRuleState.Builder
- java.lang.Object
-
- com.pulumi.aws.chime.inputs.SdkvoiceSipRuleState.Builder
-
- Enclosing class:
- SdkvoiceSipRuleState
public static final class SdkvoiceSipRuleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SdkvoiceSipRuleState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SdkvoiceSipRuleState defaults)
-
-
Method Detail
-
disabled
public SdkvoiceSipRuleState.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 SdkvoiceSipRuleState.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 SdkvoiceSipRuleState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the SIP rule.- Returns:
- builder
-
name
public SdkvoiceSipRuleState.Builder name(java.lang.String name)
- Parameters:
name- The name of the SIP rule.- Returns:
- builder
-
region
public SdkvoiceSipRuleState.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 SdkvoiceSipRuleState.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 SdkvoiceSipRuleState.Builder targetApplications(@Nullable 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 SdkvoiceSipRuleState.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 SdkvoiceSipRuleState.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 SdkvoiceSipRuleState.Builder triggerType(@Nullable 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 SdkvoiceSipRuleState.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 SdkvoiceSipRuleState.Builder triggerValue(@Nullable 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 SdkvoiceSipRuleState.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
-
build
public SdkvoiceSipRuleState build()
-
-