Interface BatchDeleteEvaluationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<BatchDeleteEvaluationJobResponse.Builder,BatchDeleteEvaluationJobResponse>,SdkBuilder<BatchDeleteEvaluationJobResponse.Builder,BatchDeleteEvaluationJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchDeleteEvaluationJobResponse
@Mutable @NotThreadSafe public static interface BatchDeleteEvaluationJobResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteEvaluationJobResponse.Builder,BatchDeleteEvaluationJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDeleteEvaluationJobResponse.Buildererrors(Collection<BatchDeleteEvaluationJobError> errors)A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.BatchDeleteEvaluationJobResponse.Buildererrors(Consumer<BatchDeleteEvaluationJobError.Builder>... errors)A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.BatchDeleteEvaluationJobResponse.Buildererrors(BatchDeleteEvaluationJobError... errors)A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.BatchDeleteEvaluationJobResponse.BuilderevaluationJobs(Collection<BatchDeleteEvaluationJobItem> evaluationJobs)The list of evaluation jobs for deletion.BatchDeleteEvaluationJobResponse.BuilderevaluationJobs(Consumer<BatchDeleteEvaluationJobItem.Builder>... evaluationJobs)The list of evaluation jobs for deletion.BatchDeleteEvaluationJobResponse.BuilderevaluationJobs(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 Detail
-
errors
BatchDeleteEvaluationJobResponse.Builder errors(Collection<BatchDeleteEvaluationJobError> 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(BatchDeleteEvaluationJobError... 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.Builderavoiding the need to create one manually viaBatchDeleteEvaluationJobError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaBatchDeleteEvaluationJobItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#evaluationJobs(List.) - 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:
#evaluationJobs(java.util.Collection)
-
-