Interface ListRoutingControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRoutingControlsResponse.Builder,
,ListRoutingControlsResponse> Route53RecoveryControlConfigResponse.Builder
,SdkBuilder<ListRoutingControlsResponse.Builder,
,ListRoutingControlsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRoutingControlsResponse
@Mutable
@NotThreadSafe
public static interface ListRoutingControlsResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<ListRoutingControlsResponse.Builder,ListRoutingControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token that identifies which batch of results you want to see.routingControls
(Collection<RoutingControl> routingControls) An array of routing controls.routingControls
(Consumer<RoutingControl.Builder>... routingControls) An array of routing controls.routingControls
(RoutingControl... routingControls) An array of routing controls.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token that identifies which batch of results you want to see.
- Parameters:
nextToken
- The token that identifies which batch of results you want to see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingControls
An array of routing controls.
- Parameters:
routingControls
- An array of routing controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingControls
An array of routing controls.
- Parameters:
routingControls
- An array 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) An array 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:
-