Interface ListDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDeploymentsResponse.Builder,
,ListDeploymentsResponse> LaunchWizardResponse.Builder
,SdkBuilder<ListDeploymentsResponse.Builder,
,ListDeploymentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDeploymentsResponse
public static interface ListDeploymentsResponse.Builder
extends LaunchWizardResponse.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeployments
(Collection<DeploymentDataSummary> deployments) Lists the deployments.deployments
(Consumer<DeploymentDataSummary.Builder>... deployments) Lists the deployments.deployments
(DeploymentDataSummary... deployments) Lists the deployments.The token to include in another request to get the next page of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.launchwizard.model.LaunchWizardResponse.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
-
deployments
Lists the deployments.
- Parameters:
deployments
- Lists the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
Lists the deployments.
- Parameters:
deployments
- Lists the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
Lists the deployments.
This is a convenience method that creates an instance of theDeploymentDataSummary.Builder
avoiding the need to create one manually viaDeploymentDataSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeployments(List<DeploymentDataSummary>)
.- Parameters:
deployments
- a consumer that will call methods onDeploymentDataSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-