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
Modifier and TypeMethodDescriptionA token for getting the next set of solution versions (if they exist).solutionVersions(Collection<SolutionVersionSummary> solutionVersions) A list of solution versions describing the version properties.solutionVersions(Consumer<SolutionVersionSummary.Builder>... solutionVersions) A list of solution versions describing the version properties.solutionVersions(SolutionVersionSummary... solutionVersions) A list of solution versions describing the version properties.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.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
-
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
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 tosolutionVersions(List<SolutionVersionSummary>).- 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:
-
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.
-