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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEnvironmentsResponse.Builderenvironments(Collection<Environment> environments)A list of all of your FinSpace environments.ListEnvironmentsResponse.Builderenvironments(Consumer<Environment.Builder>... environments)A list of all of your FinSpace environments.ListEnvironmentsResponse.Builderenvironments(Environment... environments)A list of all of your FinSpace environments.ListEnvironmentsResponse.BuildernextToken(String nextToken)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 Detail
-
environments
ListEnvironmentsResponse.Builder environments(Collection<Environment> 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
ListEnvironmentsResponse.Builder environments(Environment... 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
ListEnvironmentsResponse.Builder environments(Consumer<Environment.Builder>... environments)
A list of all of your FinSpace environments.
This is a convenience method that creates an instance of theEnvironment.Builderavoiding the need to create one manually viaEnvironment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#environments(List.) - 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:
#environments(java.util.Collection)
-
nextToken
ListEnvironmentsResponse.Builder nextToken(String 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.
-
-