Interface UpdateSipRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkVoiceRequest.Builder,CopyableBuilder<UpdateSipRuleRequest.Builder,,UpdateSipRuleRequest> SdkBuilder<UpdateSipRuleRequest.Builder,,UpdateSipRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSipRuleRequest
public static interface UpdateSipRuleRequest.Builder
extends ChimeSdkVoiceRequest.Builder, SdkPojo, CopyableBuilder<UpdateSipRuleRequest.Builder,UpdateSipRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe new value that indicates whether the rule is disabled.The new name for the specified SIP rule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The SIP rule ID.targetApplications(Collection<SipRuleTargetApplication> targetApplications) The new list of target applications.targetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications) The new list of target applications.targetApplications(SipRuleTargetApplication... targetApplications) The new list of target applications.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.chimesdkvoice.model.ChimeSdkVoiceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sipRuleId
The SIP rule ID.
- Parameters:
sipRuleId- The SIP rule ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name for the specified SIP rule.
- Parameters:
name- The new name for the specified SIP rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disabled
The new value that indicates whether the rule is disabled.
- Parameters:
disabled- The new value that indicates whether the rule is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetApplications
UpdateSipRuleRequest.Builder targetApplications(Collection<SipRuleTargetApplication> targetApplications) The new list of target applications.
- Parameters:
targetApplications- The new list of target applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetApplications
The new list of target applications.
- Parameters:
targetApplications- The new list of target applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetApplications
UpdateSipRuleRequest.Builder targetApplications(Consumer<SipRuleTargetApplication.Builder>... targetApplications) The new list of target applications.
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 onSipRuleTargetApplication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSipRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSipRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-