Interface DescribeSolutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSolutionResponse.Builder,
,DescribeSolutionResponse> PersonalizeResponse.Builder
,SdkBuilder<DescribeSolutionResponse.Builder,
,DescribeSolutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeSolutionResponse
public static interface DescribeSolutionResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<DescribeSolutionResponse.Builder,DescribeSolutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeSolutionResponse.Builder
solution
(Consumer<Solution.Builder> solution) An object that describes the solution.An object that describes the solution.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
-
solution
An object that describes the solution.
- Parameters:
solution
- An object that describes the solution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solution
An object that describes the solution.
This is a convenience method that creates an instance of theSolution.Builder
avoiding the need to create one manually viaSolution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosolution(Solution)
.- Parameters:
solution
- a consumer that will call methods onSolution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-