Interface DescribeEnvironmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,Cloud9Response.Builder
,CopyableBuilder<DescribeEnvironmentsResponse.Builder,
,DescribeEnvironmentsResponse> SdkBuilder<DescribeEnvironmentsResponse.Builder,
,DescribeEnvironmentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEnvironmentsResponse
public static interface DescribeEnvironmentsResponse.Builder
extends Cloud9Response.Builder, SdkPojo, CopyableBuilder<DescribeEnvironmentsResponse.Builder,DescribeEnvironmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironments
(Collection<Environment> environments) Information about the environments that are returned.environments
(Consumer<Environment.Builder>... environments) Information about the environments that are returned.environments
(Environment... environments) Information about the environments that are returned.Methods inherited from interface software.amazon.awssdk.services.cloud9.model.Cloud9Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
environments
Information about the environments that are returned.
- Parameters:
environments
- Information about the environments that are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
Information about the environments that are returned.
- Parameters:
environments
- Information about the environments that are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
Information about the environments that are returned.
This is a convenience method that creates an instance of theEnvironment.Builder
avoiding the need to create one manually viaEnvironment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironments(List<Environment>)
.- Parameters:
environments
- a consumer that will call methods onEnvironment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-