Interface DescribeRoutingControlResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRoutingControlResponse.Builder,,DescribeRoutingControlResponse> Route53RecoveryControlConfigResponse.Builder,SdkBuilder<DescribeRoutingControlResponse.Builder,,DescribeRoutingControlResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRoutingControlResponse
public static interface DescribeRoutingControlResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<DescribeRoutingControlResponse.Builder,DescribeRoutingControlResponse>
-
Method Summary
Modifier and TypeMethodDescriptionroutingControl(Consumer<RoutingControl.Builder> routingControl) Information about the routing control.routingControl(RoutingControl routingControl) Information about the routing control.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53recoverycontrolconfig.model.Route53RecoveryControlConfigResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
routingControl
Information about the routing control.
- Parameters:
routingControl- Information about the routing control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingControl
default DescribeRoutingControlResponse.Builder routingControl(Consumer<RoutingControl.Builder> routingControl) Information about the routing control.
This is a convenience method that creates an instance of theRoutingControl.Builderavoiding the need to create one manually viaRoutingControl.builder().When the
Consumercompletes,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:
-