public static interface DescribeEnvironmentsResponse.Builder extends Cloud9Response.Builder, CopyableBuilder<DescribeEnvironmentsResponse.Builder,DescribeEnvironmentsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentsResponse.Builder |
environments(Collection<Environment> environments)
Information about the environments that are returned.
|
DescribeEnvironmentsResponse.Builder |
environments(Consumer<Environment.Builder>... environments)
Information about the environments that are returned.
|
DescribeEnvironmentsResponse.Builder |
environments(Environment... environments)
Information about the environments that are returned.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeEnvironmentsResponse.Builder environments(Collection<Environment> environments)
Information about the environments that are returned.
environments
- Information about the environments that are returned.DescribeEnvironmentsResponse.Builder environments(Environment... environments)
Information about the environments that are returned.
environments
- Information about the environments that are returned.DescribeEnvironmentsResponse.Builder environments(Consumer<Environment.Builder>... environments)
Information about the environments that are returned.
This is a convenience that creates an instance of theList.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 #environments(List)
.environments
- a consumer that will call methods on List.Builder
#environments(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.