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)
A SIP rule's name.
|
SipRule.Builder |
sipRuleId(String sipRuleId)
A SIP rule's ID.
|
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.
|
SipRule.Builder |
targetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications)
The 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)
The 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 set for a SIP rule, either a phone number or a URI request host name.
|
SipRule.Builder |
triggerType(String triggerType)
The type of trigger set for a SIP rule, either a phone number or a URI request host name.
|
SipRule.Builder |
triggerValue(String triggerValue)
The value set for a SIP rule's trigger type.
|
SipRule.Builder |
updatedTimestamp(Instant updatedTimestamp)
The time at which the SIP rule was updated, in ISO 8601 format.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSipRule.Builder sipRuleId(String sipRuleId)
A SIP rule's ID.
sipRuleId - A SIP rule's ID.SipRule.Builder name(String name)
A SIP rule's name.
name - A SIP rule's name.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 set for a SIP rule, either a phone number or a URI request host name.
triggerType - The type of trigger set for a SIP rule, either a phone number or a URI request host name.SipRuleTriggerType,
SipRuleTriggerTypeSipRule.Builder triggerType(SipRuleTriggerType triggerType)
The type of trigger set for a SIP rule, either a phone number or a URI request host name.
triggerType - The type of trigger set for a SIP rule, either a phone number or a URI request host name.SipRuleTriggerType,
SipRuleTriggerTypeSipRule.Builder triggerValue(String triggerValue)
The value set for a SIP rule's trigger type. Either a phone number or a URI hostname.
triggerValue - The value set for a SIP rule's trigger type. Either a phone number or a URI hostname.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.
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.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.
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.SipRule.Builder targetApplications(Consumer<SipRuleTargetApplication.Builder>... 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.
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 updated, in ISO 8601 format.
updatedTimestamp - The time at which the SIP rule was updated, in ISO 8601 format.Copyright © 2023. All rights reserved.