public static interface CreateSipRuleRequest.Builder extends ChimeRequest.Builder, SdkPojo, CopyableBuilder<CreateSipRuleRequest.Builder,CreateSipRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSipRuleRequest.Builder |
disabled(Boolean disabled)
Enables or disables a rule.
|
CreateSipRuleRequest.Builder |
name(String name)
The name of the SIP rule.
|
CreateSipRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSipRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSipRuleRequest.Builder |
targetApplications(Collection<SipRuleTargetApplication> targetApplications)
List of SIP media applications with priority and AWS Region.
|
CreateSipRuleRequest.Builder |
targetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications)
List of SIP media applications with priority and AWS Region.
|
CreateSipRuleRequest.Builder |
targetApplications(SipRuleTargetApplication... targetApplications)
List of SIP media applications with priority and AWS Region.
|
CreateSipRuleRequest.Builder |
triggerType(SipRuleTriggerType triggerType)
The type of trigger assigned to the SIP rule in
TriggerValue, currently
RequestUriHostname or ToPhoneNumber. |
CreateSipRuleRequest.Builder |
triggerType(String triggerType)
The type of trigger assigned to the SIP rule in
TriggerValue, currently
RequestUriHostname or ToPhoneNumber. |
CreateSipRuleRequest.Builder |
triggerValue(String triggerValue)
If
TriggerType is RequestUriHostname, the value can be the outbound host name of an
Amazon Chime Voice Connector. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSipRuleRequest.Builder name(String name)
The name of the SIP rule.
name - The name of the SIP rule.CreateSipRuleRequest.Builder triggerType(String triggerType)
The type of trigger assigned to the SIP rule in TriggerValue, currently
RequestUriHostname or ToPhoneNumber.
triggerType - The type of trigger assigned to the SIP rule in TriggerValue, currently
RequestUriHostname or ToPhoneNumber.SipRuleTriggerType,
SipRuleTriggerTypeCreateSipRuleRequest.Builder triggerType(SipRuleTriggerType triggerType)
The type of trigger assigned to the SIP rule in TriggerValue, currently
RequestUriHostname or ToPhoneNumber.
triggerType - The type of trigger assigned to the SIP rule in TriggerValue, currently
RequestUriHostname or ToPhoneNumber.SipRuleTriggerType,
SipRuleTriggerTypeCreateSipRuleRequest.Builder triggerValue(String 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 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.
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
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.CreateSipRuleRequest.Builder disabled(Boolean disabled)
Enables or disables a rule. You must disable rules before you can delete them.
disabled - Enables or disables a rule. You must disable rules before you can delete them.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.
targetApplications - List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region
can be used.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.
targetApplications - List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region
can be used.CreateSipRuleRequest.Builder targetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications)
List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.
This is a convenience method that creates an instance of theSipRuleTargetApplication.Builder avoiding the need to
create one manually via
SipRuleTargetApplication.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #targetApplications(List.
targetApplications - a consumer that will call methods on
SipRuleTargetApplication.Builder#targetApplications(java.util.Collection) CreateSipRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSipRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.