Interface SipRule.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SipRule.Builder,,- SipRule> - SdkBuilder<SipRule.Builder,,- SipRule> - SdkPojo
- Enclosing class:
- SipRule
- 
Method SummaryModifier and TypeMethodDescriptioncreatedTimestamp(Instant createdTimestamp) The time at which the SIP rule was created, in ISO 8601 format.Indicates whether the SIP rule is enabled or disabled.A SIP rule's name.A SIP rule's ID.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.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.targetApplications(SipRuleTargetApplication... targetApplications) The target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule.triggerType(String triggerType) The type of trigger set for a SIP rule, either a phone number or a URI request host name.triggerType(SipRuleTriggerType triggerType) The type of trigger set for a SIP rule, either a phone number or a URI request host name.triggerValue(String triggerValue) The value set for a SIP rule's trigger type.updatedTimestamp(Instant updatedTimestamp) The time at which the SIP rule was updated, in ISO 8601 format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
sipRuleIdA SIP rule's ID. - Parameters:
- sipRuleId- A SIP rule's ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameA SIP rule's name. - Parameters:
- name- A SIP rule's name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
disabledIndicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it. - Parameters:
- disabled- Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
triggerTypeThe type of trigger set for a SIP rule, either a phone number or a URI request host name. - Parameters:
- triggerType- The type of trigger set for a SIP rule, either a phone number or a URI request host name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
triggerTypeThe type of trigger set for a SIP rule, either a phone number or a URI request host name. - Parameters:
- triggerType- The type of trigger set for a SIP rule, either a phone number or a URI request host name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
triggerValueThe value set for a SIP rule's trigger type. Either a phone number or a URI hostname. - Parameters:
- triggerValue- The value set for a SIP rule's trigger type. Either a phone number or a URI hostname.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetApplicationsThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetApplicationsThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetApplicationsSipRule.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.Builderavoiding the need to create one manually viaSipRuleTargetApplication.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetApplications(List<SipRuleTargetApplication>).- Parameters:
- targetApplications- a consumer that will call methods on- SipRuleTargetApplication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createdTimestampThe time at which the SIP rule was created, in ISO 8601 format. - Parameters:
- createdTimestamp- The time at which the SIP rule was created, in ISO 8601 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatedTimestampThe time at which the SIP rule was updated, in ISO 8601 format. - Parameters:
- updatedTimestamp- The time at which the SIP rule was updated, in ISO 8601 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-