Interface ListSolutionVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSolutionVersionsResponse.Builder,ListSolutionVersionsResponse>,PersonalizeResponse.Builder,SdkBuilder<ListSolutionVersionsResponse.Builder,ListSolutionVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSolutionVersionsResponse
public static interface ListSolutionVersionsResponse.Builder extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListSolutionVersionsResponse.Builder,ListSolutionVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSolutionVersionsResponse.BuildernextToken(String nextToken)A token for getting the next set of solution versions (if they exist).ListSolutionVersionsResponse.BuildersolutionVersions(Collection<SolutionVersionSummary> solutionVersions)A list of solution versions describing the version properties.ListSolutionVersionsResponse.BuildersolutionVersions(Consumer<SolutionVersionSummary.Builder>... solutionVersions)A list of solution versions describing the version properties.ListSolutionVersionsResponse.BuildersolutionVersions(SolutionVersionSummary... solutionVersions)A list of solution versions describing the version properties.-
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
-
solutionVersions
ListSolutionVersionsResponse.Builder solutionVersions(Collection<SolutionVersionSummary> solutionVersions)
A list of solution versions describing the version properties.
- Parameters:
solutionVersions- A list of solution versions describing the version properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionVersions
ListSolutionVersionsResponse.Builder solutionVersions(SolutionVersionSummary... solutionVersions)
A list of solution versions describing the version properties.
- Parameters:
solutionVersions- A list of solution versions describing the version properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionVersions
ListSolutionVersionsResponse.Builder solutionVersions(Consumer<SolutionVersionSummary.Builder>... solutionVersions)
A list of solution versions describing the version properties.
This is a convenience method that creates an instance of theSolutionVersionSummary.Builderavoiding the need to create one manually viaSolutionVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#solutionVersions(List.) - Parameters:
solutionVersions- a consumer that will call methods onSolutionVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#solutionVersions(java.util.Collection)
-
nextToken
ListSolutionVersionsResponse.Builder nextToken(String nextToken)
A token for getting the next set of solution versions (if they exist).
- Parameters:
nextToken- A token for getting the next set of solution versions (if they exist).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-