public static interface SipRule.Builder extends SdkPojo, CopyableBuilder<SipRule.Builder,SipRule>
| Modifier and Type | Method and Description |
|---|---|
SipRule.Builder |
createdTimestamp(Instant createdTimestamp)
The time at which the SIP rule was created, in ISO 8601 format.
|
SipRule.Builder |
disabled(Boolean disabled)
Indicates whether the SIP rule is enabled or disabled.
|
SipRule.Builder |
name(String name)
The name of the SIP rule.
|
SipRule.Builder |
sipRuleId(String sipRuleId)
The SIP rule ID.
|
SipRule.Builder |
targetApplications(Collection<SipRuleTargetApplication> targetApplications)
Target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP
rule.
|
SipRule.Builder |
targetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications)
Target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP
rule.
|
SipRule.Builder |
targetApplications(SipRuleTargetApplication... targetApplications)
Target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP
rule.
|
SipRule.Builder |
triggerType(SipRuleTriggerType triggerType)
The type of trigger assigned to the SIP rule in
TriggerValue, currently
RequestUriHostname or ToPhoneNumber. |
SipRule.Builder |
triggerType(String triggerType)
The type of trigger assigned to the SIP rule in
TriggerValue, currently
RequestUriHostname or ToPhoneNumber. |
SipRule.Builder |
triggerValue(String triggerValue)
If
TriggerType is RequestUriHostname, then the value can be the outbound host name
of the Amazon Chime Voice Connector. |
SipRule.Builder |
updatedTimestamp(Instant updatedTimestamp)
The time at which the SIP rule was last updated, in ISO 8601 format.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSipRule.Builder sipRuleId(String sipRuleId)
The SIP rule ID.
sipRuleId - The SIP rule ID.SipRule.Builder name(String name)
The name of the SIP rule.
name - The name of the SIP rule.SipRule.Builder disabled(Boolean disabled)
Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
disabled - Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete
it.SipRule.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,
SipRuleTriggerTypeSipRule.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,
SipRuleTriggerTypeSipRule.Builder triggerValue(String triggerValue)
If TriggerType is RequestUriHostname, then the value can be the outbound host name
of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then the
value can be a customer-owned phone number in E164 format. SipRule is triggered when a SIP rule
requests host name or ToPhoneNumber matches in the incoming SIP request.
triggerValue - If TriggerType is RequestUriHostname, then the value can be the outbound
host name of the Amazon Chime Voice Connector. If TriggerType is
ToPhoneNumber, then the value can be a customer-owned phone number in E164 format.
SipRule is triggered when a SIP rule requests host name or ToPhoneNumber
matches in the incoming SIP request.SipRule.Builder targetApplications(Collection<SipRuleTargetApplication> targetApplications)
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.
targetApplications - 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.SipRule.Builder targetApplications(SipRuleTargetApplication... targetApplications)
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.
targetApplications - 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.SipRule.Builder targetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications)
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.
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) SipRule.Builder createdTimestamp(Instant createdTimestamp)
The time at which the SIP rule was created, in ISO 8601 format.
createdTimestamp - The time at which the SIP rule was created, in ISO 8601 format.SipRule.Builder updatedTimestamp(Instant updatedTimestamp)
The time at which the SIP rule was last updated, in ISO 8601 format.
updatedTimestamp - The time at which the SIP rule was last updated, in ISO 8601 format.Copyright © 2023. All rights reserved.