Interface UpdateSipRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeRequest.Builder
,CopyableBuilder<UpdateSipRuleRequest.Builder,
,UpdateSipRuleRequest> SdkBuilder<UpdateSipRuleRequest.Builder,
,UpdateSipRuleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSipRuleRequest
public static interface UpdateSipRuleRequest.Builder
extends ChimeRequest.Builder, SdkPojo, CopyableBuilder<UpdateSipRuleRequest.Builder,UpdateSipRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe new value specified to indicate 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 value of the list of target applications.targetApplications
(Consumer<SipRuleTargetApplication.Builder>... targetApplications) The new value of the list of target applications.targetApplications
(SipRuleTargetApplication... targetApplications) The new value of the list of target applications.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, 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 specified to indicate whether the rule is disabled.
- Parameters:
disabled
- The new value specified to indicate 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 value of the list of target applications.
- Parameters:
targetApplications
- The new value of the list of target applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetApplications
The new value of the list of target applications.
- Parameters:
targetApplications
- The new value of the 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 value of the list of target applications.
This is a convenience method that creates an instance of theSipRuleTargetApplication.Builder
avoiding the need to create one manually viaSipRuleTargetApplication.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-