Interface ListEnvironmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEnvironmentsResponse.Builder,
,ListEnvironmentsResponse> M2Response.Builder
,SdkBuilder<ListEnvironmentsResponse.Builder,
,ListEnvironmentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEnvironmentsResponse
public static interface ListEnvironmentsResponse.Builder
extends M2Response.Builder, SdkPojo, CopyableBuilder<ListEnvironmentsResponse.Builder,ListEnvironmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironments
(Collection<EnvironmentSummary> environments) Returns a list of summary details for all the runtime environments in your account.environments
(Consumer<EnvironmentSummary.Builder>... environments) Returns a list of summary details for all the runtime environments in your account.environments
(EnvironmentSummary... environments) Returns a list of summary details for all the runtime environments in your account.A pagination token that's returned when the response doesn't contain all the runtime environments.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.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
-
environments
Returns a list of summary details for all the runtime environments in your account.
- Parameters:
environments
- Returns a list of summary details for all the runtime environments in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
Returns a list of summary details for all the runtime environments in your account.
- Parameters:
environments
- Returns a list of summary details for all the runtime environments in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
Returns a list of summary details for all the runtime environments in your account.
This is a convenience method that creates an instance of theEnvironmentSummary.Builder
avoiding the need to create one manually viaEnvironmentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironments(List<EnvironmentSummary>)
.- Parameters:
environments
- a consumer that will call methods onEnvironmentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that's returned when the response doesn't contain all the runtime environments.
- Parameters:
nextToken
- A pagination token that's returned when the response doesn't contain all the runtime environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-