Interface ListSolutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSolutionsResponse.Builder,
,ListSolutionsResponse> PersonalizeResponse.Builder
,SdkBuilder<ListSolutionsResponse.Builder,
,ListSolutionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSolutionsResponse
public static interface ListSolutionsResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListSolutionsResponse.Builder,ListSolutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token for getting the next set of solutions (if they exist).solutions
(Collection<SolutionSummary> solutions) A list of the current solutions.solutions
(Consumer<SolutionSummary.Builder>... solutions) A list of the current solutions.solutions
(SolutionSummary... solutions) A list of the current solutions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.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
-
solutions
A list of the current solutions.
- Parameters:
solutions
- A list of the current solutions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutions
A list of the current solutions.
- Parameters:
solutions
- A list of the current solutions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutions
A list of the current solutions.
This is a convenience method that creates an instance of theSolutionSummary.Builder
avoiding the need to create one manually viaSolutionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosolutions(List<SolutionSummary>)
.- Parameters:
solutions
- a consumer that will call methods onSolutionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token for getting the next set of solutions (if they exist).
- Parameters:
nextToken
- A token for getting the next set of solutions (if they exist).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-