Interface BatchDeleteEvaluationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<BatchDeleteEvaluationJobResponse.Builder,,BatchDeleteEvaluationJobResponse> SdkBuilder<BatchDeleteEvaluationJobResponse.Builder,,BatchDeleteEvaluationJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteEvaluationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionA JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.errors(Consumer<BatchDeleteEvaluationJobError.Builder>... errors) A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.errors(BatchDeleteEvaluationJobError... errors) A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.evaluationJobs(Collection<BatchDeleteEvaluationJobItem> evaluationJobs) The list of model evaluation jobs to be deleted.evaluationJobs(Consumer<BatchDeleteEvaluationJobItem.Builder>... evaluationJobs) The list of model evaluation jobs to be deleted.evaluationJobs(BatchDeleteEvaluationJobItem... evaluationJobs) The list of model evaluation jobs to be deleted.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
errors
A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.
- Parameters:
errors- A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.
- Parameters:
errors- A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteEvaluationJobResponse.Builder errors(Consumer<BatchDeleteEvaluationJobError.Builder>... errors) A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.
This is a convenience method that creates an instance of theBatchDeleteEvaluationJobError.Builderavoiding the need to create one manually viaBatchDeleteEvaluationJobError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchDeleteEvaluationJobError>).- Parameters:
errors- a consumer that will call methods onBatchDeleteEvaluationJobError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationJobs
BatchDeleteEvaluationJobResponse.Builder evaluationJobs(Collection<BatchDeleteEvaluationJobItem> evaluationJobs) The list of model evaluation jobs to be deleted.
- Parameters:
evaluationJobs- The list of model evaluation jobs to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationJobs
BatchDeleteEvaluationJobResponse.Builder evaluationJobs(BatchDeleteEvaluationJobItem... evaluationJobs) The list of model evaluation jobs to be deleted.
- Parameters:
evaluationJobs- The list of model evaluation jobs to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationJobs
BatchDeleteEvaluationJobResponse.Builder evaluationJobs(Consumer<BatchDeleteEvaluationJobItem.Builder>... evaluationJobs) The list of model evaluation jobs to be deleted.
This is a convenience method that creates an instance of theBatchDeleteEvaluationJobItem.Builderavoiding the need to create one manually viaBatchDeleteEvaluationJobItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationJobs(List<BatchDeleteEvaluationJobItem>).- Parameters:
evaluationJobs- a consumer that will call methods onBatchDeleteEvaluationJobItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-