Interface CreateSipRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<CreateSipRuleResponse.Builder,,CreateSipRuleResponse> SdkBuilder<CreateSipRuleResponse.Builder,,CreateSipRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSipRuleResponse
public static interface CreateSipRuleResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<CreateSipRuleResponse.Builder,CreateSipRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateSipRuleResponse.BuildersipRule(Consumer<SipRule.Builder> sipRule) Returns the SIP rule information, including the rule ID, triggers, and target applications.Returns the SIP rule information, including the rule ID, triggers, and target applications.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sipRule
Returns the SIP rule information, including the rule ID, triggers, and target applications.
- Parameters:
sipRule- Returns the SIP rule information, including the rule ID, triggers, and target applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sipRule
Returns the SIP rule information, including the rule ID, triggers, and target applications.
This is a convenience method that creates an instance of theSipRule.Builderavoiding the need to create one manually viaSipRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosipRule(SipRule).- Parameters:
sipRule- a consumer that will call methods onSipRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-