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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeSolutionResponse.Buildersolution(Consumer<Solution.Builder> solution)An object that describes the solution.DescribeSolutionResponse.Buildersolution(Solution 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
solution
DescribeSolutionResponse.Builder solution(Solution 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
default DescribeSolutionResponse.Builder solution(Consumer<Solution.Builder> 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:
solution(Solution)
-
-