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 evaluation jobs that failed to be deleted.errors
(Consumer<BatchDeleteEvaluationJobError.Builder>... errors) A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.errors
(BatchDeleteEvaluationJobError... errors) A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.evaluationJobs
(Collection<BatchDeleteEvaluationJobItem> evaluationJobs) The list of evaluation jobs for deletion.evaluationJobs
(Consumer<BatchDeleteEvaluationJobItem.Builder>... evaluationJobs) The list of evaluation jobs for deletion.evaluationJobs
(BatchDeleteEvaluationJobItem... evaluationJobs) The list of evaluation jobs for deletion.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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 evaluation jobs that failed to be deleted.
- Parameters:
errors
- A JSON object containing the HTTP status codes and the ARNs of 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 evaluation jobs that failed to be deleted.
- Parameters:
errors
- A JSON object containing the HTTP status codes and the ARNs of 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 evaluation jobs that failed to be deleted.
This is a convenience method that creates an instance of theBatchDeleteEvaluationJobError.Builder
avoiding the need to create one manually viaBatchDeleteEvaluationJobError.builder()
.When the
Consumer
completes,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 evaluation jobs for deletion.
- Parameters:
evaluationJobs
- The list of evaluation jobs for deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationJobs
BatchDeleteEvaluationJobResponse.Builder evaluationJobs(BatchDeleteEvaluationJobItem... evaluationJobs) The list of evaluation jobs for deletion.
- Parameters:
evaluationJobs
- The list of evaluation jobs for deletion.- 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 evaluation jobs for deletion.
This is a convenience method that creates an instance of theBatchDeleteEvaluationJobItem.Builder
avoiding the need to create one manually viaBatchDeleteEvaluationJobItem.builder()
.When the
Consumer
completes,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:
-