Interface DescribeBatchPredictionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBatchPredictionsResponse.Builder,
,DescribeBatchPredictionsResponse> MachineLearningResponse.Builder
,SdkBuilder<DescribeBatchPredictionsResponse.Builder,
,DescribeBatchPredictionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBatchPredictionsResponse
public static interface DescribeBatchPredictionsResponse.Builder
extends MachineLearningResponse.Builder, SdkPojo, CopyableBuilder<DescribeBatchPredictionsResponse.Builder,DescribeBatchPredictionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the next page in the paginated results that indicates at least one more page follows.results
(Collection<BatchPrediction> results) A list ofBatchPrediction
objects that meet the search criteria.results
(Consumer<BatchPrediction.Builder>... results) A list ofBatchPrediction
objects that meet the search criteria.results
(BatchPrediction... results) A list ofBatchPrediction
objects that meet the search criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningResponse.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
-
results
A list of
BatchPrediction
objects that meet the search criteria.- Parameters:
results
- A list ofBatchPrediction
objects that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A list of
BatchPrediction
objects that meet the search criteria.- Parameters:
results
- A list ofBatchPrediction
objects that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A list of
This is a convenience method that creates an instance of theBatchPrediction
objects that meet the search criteria.BatchPrediction.Builder
avoiding the need to create one manually viaBatchPrediction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<BatchPrediction>)
.- Parameters:
results
- a consumer that will call methods onBatchPrediction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The ID of the next page in the paginated results that indicates at least one more page follows.
- Parameters:
nextToken
- The ID of the next page in the paginated results that indicates at least one more page follows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-