Interface BatchReadOperationResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchReadOperationResponse.Builder,BatchReadOperationResponse>,SdkBuilder<BatchReadOperationResponse.Builder,BatchReadOperationResponse>,SdkPojo
- Enclosing class:
- BatchReadOperationResponse
public static interface BatchReadOperationResponse.Builder extends SdkPojo, CopyableBuilder<BatchReadOperationResponse.Builder,BatchReadOperationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchReadOperationResponse.BuilderexceptionResponse(Consumer<BatchReadException.Builder> exceptionResponse)Identifies which operation in a batch has failed.BatchReadOperationResponse.BuilderexceptionResponse(BatchReadException exceptionResponse)Identifies which operation in a batch has failed.default BatchReadOperationResponse.BuildersuccessfulResponse(Consumer<BatchReadSuccessfulResponse.Builder> successfulResponse)Identifies which operation in a batch has succeeded.BatchReadOperationResponse.BuildersuccessfulResponse(BatchReadSuccessfulResponse successfulResponse)Identifies which operation in a batch has succeeded.-
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, sdkFields
-
-
-
-
Method Detail
-
successfulResponse
BatchReadOperationResponse.Builder successfulResponse(BatchReadSuccessfulResponse successfulResponse)
Identifies which operation in a batch has succeeded.
- Parameters:
successfulResponse- Identifies which operation in a batch has succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulResponse
default BatchReadOperationResponse.Builder successfulResponse(Consumer<BatchReadSuccessfulResponse.Builder> successfulResponse)
Identifies which operation in a batch has succeeded.
This is a convenience method that creates an instance of theBatchReadSuccessfulResponse.Builderavoiding the need to create one manually viaBatchReadSuccessfulResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulResponse(BatchReadSuccessfulResponse).- Parameters:
successfulResponse- a consumer that will call methods onBatchReadSuccessfulResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
successfulResponse(BatchReadSuccessfulResponse)
-
exceptionResponse
BatchReadOperationResponse.Builder exceptionResponse(BatchReadException exceptionResponse)
Identifies which operation in a batch has failed.
- Parameters:
exceptionResponse- Identifies which operation in a batch has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exceptionResponse
default BatchReadOperationResponse.Builder exceptionResponse(Consumer<BatchReadException.Builder> exceptionResponse)
Identifies which operation in a batch has failed.
This is a convenience method that creates an instance of theBatchReadException.Builderavoiding the need to create one manually viaBatchReadException.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexceptionResponse(BatchReadException).- Parameters:
exceptionResponse- a consumer that will call methods onBatchReadException.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exceptionResponse(BatchReadException)
-
-