Interface ListRoutingControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRoutingControlsResponse.Builder,,ListRoutingControlsResponse> Route53RecoveryClusterResponse.Builder,SdkBuilder<ListRoutingControlsResponse.Builder,,ListRoutingControlsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRoutingControlsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.route53recoverycluster.model.Route53RecoveryClusterResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaRoutingControl.builder().When the
Consumercompletes,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.
-