Interface CreateSipRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeRequest.Builder,CopyableBuilder<CreateSipRuleRequest.Builder,CreateSipRuleRequest>,SdkBuilder<CreateSipRuleRequest.Builder,CreateSipRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSipRuleRequest
public static interface CreateSipRuleRequest.Builder extends ChimeRequest.Builder, SdkPojo, CopyableBuilder<CreateSipRuleRequest.Builder,CreateSipRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSipRuleRequest.Builderdisabled(Boolean disabled)Enables or disables a rule.CreateSipRuleRequest.Buildername(String name)The name of the SIP rule.CreateSipRuleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSipRuleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSipRuleRequest.BuildertargetApplications(Collection<SipRuleTargetApplication> targetApplications)List of SIP media applications with priority and AWS Region.CreateSipRuleRequest.BuildertargetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications)List of SIP media applications with priority and AWS Region.CreateSipRuleRequest.BuildertargetApplications(SipRuleTargetApplication... targetApplications)List of SIP media applications with priority and AWS Region.CreateSipRuleRequest.BuildertriggerType(String triggerType)The type of trigger assigned to the SIP rule inTriggerValue, currentlyRequestUriHostnameorToPhoneNumber.CreateSipRuleRequest.BuildertriggerType(SipRuleTriggerType triggerType)The type of trigger assigned to the SIP rule inTriggerValue, currentlyRequestUriHostnameorToPhoneNumber.CreateSipRuleRequest.BuildertriggerValue(String triggerValue)IfTriggerTypeisRequestUriHostname, the value can be the outbound host name of an Amazon Chime Voice Connector.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateSipRuleRequest.Builder name(String name)
The name of the SIP rule.
- Parameters:
name- The name of the SIP rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerType
CreateSipRuleRequest.Builder triggerType(String triggerType)
The type of trigger assigned to the SIP rule in
TriggerValue, currentlyRequestUriHostnameorToPhoneNumber.- Parameters:
triggerType- The type of trigger assigned to the SIP rule inTriggerValue, currentlyRequestUriHostnameorToPhoneNumber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SipRuleTriggerType,SipRuleTriggerType
-
triggerType
CreateSipRuleRequest.Builder triggerType(SipRuleTriggerType triggerType)
The type of trigger assigned to the SIP rule in
TriggerValue, currentlyRequestUriHostnameorToPhoneNumber.- Parameters:
triggerType- The type of trigger assigned to the SIP rule inTriggerValue, currentlyRequestUriHostnameorToPhoneNumber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SipRuleTriggerType,SipRuleTriggerType
-
triggerValue
CreateSipRuleRequest.Builder triggerValue(String triggerValue)
If
TriggerTypeisRequestUriHostname, the value can be the outbound host name of an Amazon Chime Voice Connector. IfTriggerTypeisToPhoneNumber, the value can be a customer-owned phone number in the E164 format. TheSipMediaApplicationspecified in theSipRuleis triggered if the request URI in an incoming SIP request matches theRequestUriHostname, or if theToheader in the incoming SIP request matches theToPhoneNumbervalue.- Parameters:
triggerValue- IfTriggerTypeisRequestUriHostname, the value can be the outbound host name of an Amazon Chime Voice Connector. IfTriggerTypeisToPhoneNumber, the value can be a customer-owned phone number in the E164 format. TheSipMediaApplicationspecified in theSipRuleis triggered if the request URI in an incoming SIP request matches theRequestUriHostname, or if theToheader in the incoming SIP request matches theToPhoneNumbervalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disabled
CreateSipRuleRequest.Builder disabled(Boolean disabled)
Enables or disables a rule. You must disable rules before you can delete them.
- Parameters:
disabled- Enables or disables a rule. You must disable rules before you can delete them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetApplications
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.
- Parameters:
targetApplications- List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetApplications
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.
- Parameters:
targetApplications- List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetApplications
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.Builderavoiding the need to create one manually viaSipRuleTargetApplication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetApplications(List.) - Parameters:
targetApplications- a consumer that will call methods onSipRuleTargetApplication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targetApplications(java.util.Collection)
-
overrideConfiguration
CreateSipRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSipRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-