Interface ListKxEnvironmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListKxEnvironmentsResponse.Builder,,ListKxEnvironmentsResponse> FinspaceResponse.Builder,SdkBuilder<ListKxEnvironmentsResponse.Builder,,ListKxEnvironmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListKxEnvironmentsResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.finspace.model.FinspaceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaKxEnvironment.builder().When the
Consumercompletes,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.
-