Interface ListKxEnvironmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListKxEnvironmentsResponse.Builder,
,ListKxEnvironmentsResponse> FinspaceResponse.Builder
,SdkBuilder<ListKxEnvironmentsResponse.Builder,
,ListKxEnvironmentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListKxEnvironmentsResponse
@Mutable
@NotThreadSafe
public static interface ListKxEnvironmentsResponse.Builder
extends FinspaceResponse.Builder, SdkPojo, CopyableBuilder<ListKxEnvironmentsResponse.Builder,ListKxEnvironmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironments
(Collection<KxEnvironment> environments) A list of environments in an account.environments
(Consumer<KxEnvironment.Builder>... environments) A list of environments in an account.environments
(KxEnvironment... environments) A list of environments in an account.A token that indicates where a results page should begin.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
environments
A list of environments in an account.
- Parameters:
environments
- A list of environments in an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
A list of environments in an account.
- Parameters:
environments
- A list of environments in an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environments
A list of environments in an account.
This is a convenience method that creates an instance of theKxEnvironment.Builder
avoiding the need to create one manually viaKxEnvironment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironments(List<KxEnvironment>)
.- Parameters:
environments
- a consumer that will call methods onKxEnvironment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates where a results page should begin.
- Parameters:
nextToken
- A token that indicates where a results page should begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-