Interface ListControlPanelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListControlPanelsResponse.Builder,
,ListControlPanelsResponse> Route53RecoveryControlConfigResponse.Builder
,SdkBuilder<ListControlPanelsResponse.Builder,
,ListControlPanelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListControlPanelsResponse
public static interface ListControlPanelsResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<ListControlPanelsResponse.Builder,ListControlPanelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontrolPanels
(Collection<ControlPanel> controlPanels) The result of a successful ListControlPanel request.controlPanels
(Consumer<ControlPanel.Builder>... controlPanels) The result of a successful ListControlPanel request.controlPanels
(ControlPanel... controlPanels) The result of a successful ListControlPanel request.The token that identifies which batch of results you want to see.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 Details
-
controlPanels
The result of a successful ListControlPanel request.
- Parameters:
controlPanels
- The result of a successful ListControlPanel request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlPanels
The result of a successful ListControlPanel request.
- Parameters:
controlPanels
- The result of a successful ListControlPanel request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlPanels
The result of a successful ListControlPanel request.
This is a convenience method that creates an instance of theControlPanel.Builder
avoiding the need to create one manually viaControlPanel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontrolPanels(List<ControlPanel>)
.- Parameters:
controlPanels
- a consumer that will call methods onControlPanel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-