Interface GetBatchPredictionJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBatchPredictionJobsResponse.Builder,,GetBatchPredictionJobsResponse> FraudDetectorResponse.Builder,SdkBuilder<GetBatchPredictionJobsResponse.Builder,,GetBatchPredictionJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBatchPredictionJobsResponse
@Mutable
@NotThreadSafe
public static interface GetBatchPredictionJobsResponse.Builder
extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<GetBatchPredictionJobsResponse.Builder,GetBatchPredictionJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchPredictions(Collection<BatchPrediction> batchPredictions) An array containing the details of each batch prediction job.batchPredictions(Consumer<BatchPrediction.Builder>... batchPredictions) An array containing the details of each batch prediction job.batchPredictions(BatchPrediction... batchPredictions) An array containing the details of each batch prediction job.The next token for the subsequent request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
batchPredictions
GetBatchPredictionJobsResponse.Builder batchPredictions(Collection<BatchPrediction> batchPredictions) An array containing the details of each batch prediction job.
- Parameters:
batchPredictions- An array containing the details of each batch prediction job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchPredictions
An array containing the details of each batch prediction job.
- Parameters:
batchPredictions- An array containing the details of each batch prediction job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchPredictions
GetBatchPredictionJobsResponse.Builder batchPredictions(Consumer<BatchPrediction.Builder>... batchPredictions) An array containing the details of each batch prediction job.
This is a convenience method that creates an instance of theBatchPrediction.Builderavoiding the need to create one manually viaBatchPrediction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobatchPredictions(List<BatchPrediction>).- Parameters:
batchPredictions- 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 next token for the subsequent request.
- Parameters:
nextToken- The next token for the subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-