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.Buildersolution(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
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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaSolution.builder().When the
Consumercompletes,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:
-