Interface ListRoutingControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRoutingControlsResponse.Builder,
,ListRoutingControlsResponse> Route53RecoveryClusterResponse.Builder
,SdkBuilder<ListRoutingControlsResponse.Builder,
,ListRoutingControlsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRoutingControlsResponse
public static interface ListRoutingControlsResponse.Builder
extends Route53RecoveryClusterResponse.Builder, SdkPojo, CopyableBuilder<ListRoutingControlsResponse.Builder,ListRoutingControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.routingControls
(Collection<RoutingControl> routingControls) The list of routing controls.routingControls
(Consumer<RoutingControl.Builder>... routingControls) The list of routing controls.routingControls
(RoutingControl... routingControls) The list of routing controls.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53recoverycluster.model.Route53RecoveryClusterResponse.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
-
routingControls
The list of routing controls.
- Parameters:
routingControls
- The list of routing controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingControls
The list of routing controls.
- Parameters:
routingControls
- The list of routing controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingControls
ListRoutingControlsResponse.Builder routingControls(Consumer<RoutingControl.Builder>... routingControls) The list of routing controls.
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 toroutingControls(List<RoutingControl>)
.- Parameters:
routingControls
- 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:
-
nextToken
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken
- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-