Interface ListDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDeploymentsResponse.Builder,
,ListDeploymentsResponse> ProtonResponse.Builder
,SdkBuilder<ListDeploymentsResponse.Builder,
,ListDeploymentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDeploymentsResponse
public static interface ListDeploymentsResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeployments
(Collection<DeploymentSummary> deployments) An array of deployment with summary data.deployments
(Consumer<DeploymentSummary.Builder>... deployments) An array of deployment with summary data.deployments
(DeploymentSummary... deployments) An array of deployment with summary data.A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.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
An array of deployment with summary data.
- Parameters:
deployments
- An array of deployment with summary data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
An array of deployment with summary data.
- Parameters:
deployments
- An array of deployment with summary data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
An array of deployment with summary data.
This is a convenience method that creates an instance of theDeploymentSummary.Builder
avoiding the need to create one manually viaDeploymentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeployments(List<DeploymentSummary>)
.- Parameters:
deployments
- a consumer that will call methods onDeploymentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
- Parameters:
nextToken
- A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-