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 ofBatchPredictionobjects that meet the search criteria.results(Consumer<BatchPrediction.Builder>... results) A list ofBatchPredictionobjects that meet the search criteria.results(BatchPrediction... results) A list ofBatchPredictionobjects that meet the search criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningResponse.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
-
results
A list of
BatchPredictionobjects that meet the search criteria.- Parameters:
results- A list ofBatchPredictionobjects that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A list of
BatchPredictionobjects that meet the search criteria.- Parameters:
results- A list ofBatchPredictionobjects 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 theBatchPredictionobjects that meet the search criteria.BatchPrediction.Builderavoiding the need to create one manually viaBatchPrediction.builder().When the
Consumercompletes,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.
-