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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSolutionsResponse.BuildernextToken(String nextToken)A token for getting the next set of solutions (if they exist).ListSolutionsResponse.Buildersolutions(Collection<SolutionSummary> solutions)A list of the current solutions.ListSolutionsResponse.Buildersolutions(Consumer<SolutionSummary.Builder>... solutions)A list of the current solutions.ListSolutionsResponse.Buildersolutions(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 Detail
-
solutions
ListSolutionsResponse.Builder solutions(Collection<SolutionSummary> 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
ListSolutionsResponse.Builder solutions(SolutionSummary... 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
ListSolutionsResponse.Builder solutions(Consumer<SolutionSummary.Builder>... solutions)
A list of the current solutions.
This is a convenience method that creates an instance of theSolutionSummary.Builderavoiding the need to create one manually viaSolutionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#solutions(List.) - 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:
#solutions(java.util.Collection)
-
nextToken
ListSolutionsResponse.Builder nextToken(String 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.
-
-