Interface UpdateRoutingControlResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateRoutingControlResponse.Builder,
,UpdateRoutingControlResponse> Route53RecoveryControlConfigResponse.Builder
,SdkBuilder<UpdateRoutingControlResponse.Builder,
,UpdateRoutingControlResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateRoutingControlResponse
public static interface UpdateRoutingControlResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<UpdateRoutingControlResponse.Builder,UpdateRoutingControlResponse>
-
Method Summary
Modifier and TypeMethodDescriptionroutingControl
(Consumer<RoutingControl.Builder> routingControl) The routing control that was updated.routingControl
(RoutingControl routingControl) The routing control that was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53recoverycontrolconfig.model.Route53RecoveryControlConfigResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
routingControl
The routing control that was updated.
- Parameters:
routingControl
- The routing control that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingControl
default UpdateRoutingControlResponse.Builder routingControl(Consumer<RoutingControl.Builder> routingControl) The routing control that was updated.
This is a convenience method that creates an instance of theRoutingControl.Builder
avoiding the need to create one manually viaRoutingControl.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingControl(RoutingControl)
.- Parameters:
routingControl
- a consumer that will call methods onRoutingControl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-