public static interface DescribeDeploymentsResponse.Builder extends OpsWorksResponse.Builder, CopyableBuilder<DescribeDeploymentsResponse.Builder,DescribeDeploymentsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeDeploymentsResponse.Builder |
deployments(Collection<Deployment> deployments)
An array of
Deployment objects that describe the deployments. |
DescribeDeploymentsResponse.Builder |
deployments(Consumer<Deployment.Builder>... deployments)
An array of
Deployment objects that describe the deployments. |
DescribeDeploymentsResponse.Builder |
deployments(Deployment... deployments)
An array of
Deployment objects that describe the deployments. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeDeploymentsResponse.Builder deployments(Collection<Deployment> deployments)
An array of Deployment
objects that describe the deployments.
deployments
- An array of Deployment
objects that describe the deployments.DescribeDeploymentsResponse.Builder deployments(Deployment... deployments)
An array of Deployment
objects that describe the deployments.
deployments
- An array of Deployment
objects that describe the deployments.DescribeDeploymentsResponse.Builder deployments(Consumer<Deployment.Builder>... deployments)
An array of Deployment
objects that describe the deployments.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #deployments(List)
.deployments
- a consumer that will call methods on List.Builder
#deployments(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.