Interface DescribeAlgorithmResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAlgorithmResponse.Builder,
,DescribeAlgorithmResponse> PersonalizeResponse.Builder
,SdkBuilder<DescribeAlgorithmResponse.Builder,
,DescribeAlgorithmResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAlgorithmResponse
public static interface DescribeAlgorithmResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<DescribeAlgorithmResponse.Builder,DescribeAlgorithmResponse>
-
Method Summary
Modifier and TypeMethodDescriptionalgorithm
(Consumer<Algorithm.Builder> algorithm) A listing of the properties of the algorithm.A listing of the properties of the algorithm.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
-
algorithm
A listing of the properties of the algorithm.
- Parameters:
algorithm
- A listing of the properties of the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithm
A listing of the properties of the algorithm.
This is a convenience method that creates an instance of theAlgorithm.Builder
avoiding the need to create one manually viaAlgorithm.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalgorithm(Algorithm)
.- Parameters:
algorithm
- a consumer that will call methods onAlgorithm.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-