Interface CreateRoutingControlResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRoutingControlResponse.Builder,CreateRoutingControlResponse>,Route53RecoveryControlConfigResponse.Builder,SdkBuilder<CreateRoutingControlResponse.Builder,CreateRoutingControlResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRoutingControlResponse
public static interface CreateRoutingControlResponse.Builder extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<CreateRoutingControlResponse.Builder,CreateRoutingControlResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateRoutingControlResponse.BuilderroutingControl(Consumer<RoutingControl.Builder> routingControl)The routing control that is created.CreateRoutingControlResponse.BuilderroutingControl(RoutingControl routingControl)The routing control that is created.-
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 Detail
-
routingControl
CreateRoutingControlResponse.Builder routingControl(RoutingControl routingControl)
The routing control that is created.
- Parameters:
routingControl- The routing control that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingControl
default CreateRoutingControlResponse.Builder routingControl(Consumer<RoutingControl.Builder> routingControl)
The routing control that is created.
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:
routingControl(RoutingControl)
-
-