public static interface BatchReadOperationResponse.Builder extends CopyableBuilder<BatchReadOperationResponse.Builder,BatchReadOperationResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchReadOperationResponse.Builder |
exceptionResponse(BatchReadException exceptionResponse)
Identifies which operation in a batch has failed.
|
default BatchReadOperationResponse.Builder |
exceptionResponse(Consumer<BatchReadException.Builder> exceptionResponse)
Identifies which operation in a batch has failed.
|
BatchReadOperationResponse.Builder |
successfulResponse(BatchReadSuccessfulResponse successfulResponse)
Identifies which operation in a batch has succeeded.
|
default BatchReadOperationResponse.Builder |
successfulResponse(Consumer<BatchReadSuccessfulResponse.Builder> successfulResponse)
Identifies which operation in a batch has succeeded.
|
copyapply, buildBatchReadOperationResponse.Builder successfulResponse(BatchReadSuccessfulResponse successfulResponse)
Identifies which operation in a batch has succeeded.
successfulResponse - Identifies which operation in a batch has succeeded.default BatchReadOperationResponse.Builder successfulResponse(Consumer<BatchReadSuccessfulResponse.Builder> successfulResponse)
Identifies which operation in a batch has succeeded.
This is a convenience that creates an instance of theBatchReadSuccessfulResponse.Builder avoiding
the need to create one manually via BatchReadSuccessfulResponse.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to successfulResponse(BatchReadSuccessfulResponse).successfulResponse - a consumer that will call methods on BatchReadSuccessfulResponse.BuildersuccessfulResponse(BatchReadSuccessfulResponse)BatchReadOperationResponse.Builder exceptionResponse(BatchReadException exceptionResponse)
Identifies which operation in a batch has failed.
exceptionResponse - Identifies which operation in a batch has failed.default BatchReadOperationResponse.Builder exceptionResponse(Consumer<BatchReadException.Builder> exceptionResponse)
Identifies which operation in a batch has failed.
This is a convenience that creates an instance of theBatchReadException.Builder avoiding the need to
create one manually via BatchReadException.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to exceptionResponse(BatchReadException).exceptionResponse - a consumer that will call methods on BatchReadException.BuilderexceptionResponse(BatchReadException)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.