Interface ListEnvironmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEnvironmentsResponse.Builder,
,ListEnvironmentsResponse> FinspaceResponse.Builder
,SdkBuilder<ListEnvironmentsResponse.Builder,
,ListEnvironmentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEnvironmentsResponse
public static interface ListEnvironmentsResponse.Builder
extends FinspaceResponse.Builder, SdkPojo, CopyableBuilder<ListEnvironmentsResponse.Builder,ListEnvironmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironments
(Collection<Environment> environments) A list of all of your FinSpace environments.environments
(Consumer<Environment.Builder>... environments) A list of all of your FinSpace environments.environments
(Environment... environments) A list of all of your FinSpace environments.A token that you can use in a subsequent call to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.finspace.model.FinspaceResponse.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
A list of all of your FinSpace environments.
- Parameters:
environments
- A list of all of your FinSpace environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
A list of all of your FinSpace environments.
- Parameters:
environments
- A list of all of your FinSpace environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
A list of all of your FinSpace environments.
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:
-
nextToken
A token that you can use in a subsequent call to retrieve the next set of results.
- Parameters:
nextToken
- A token that you can use in a subsequent call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-