Interface BatchDeleteDataTableValueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<BatchDeleteDataTableValueResponse.Builder,,BatchDeleteDataTableValueResponse> SdkBuilder<BatchDeleteDataTableValueResponse.Builder,,BatchDeleteDataTableValueResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteDataTableValueResponse
-
Method Summary
Modifier and TypeMethodDescriptionA list of values that failed to be deleted with error messages explaining the failure reason.A list of values that failed to be deleted with error messages explaining the failure reason.failed(BatchDeleteDataTableValueFailureResult... failed) A list of values that failed to be deleted with error messages explaining the failure reason.successful(Collection<BatchDeleteDataTableValueSuccessResult> successful) A list of successfully deleted values with their identifiers and updated lock versions.successful(Consumer<BatchDeleteDataTableValueSuccessResult.Builder>... successful) A list of successfully deleted values with their identifiers and updated lock versions.successful(BatchDeleteDataTableValueSuccessResult... successful) A list of successfully deleted values with their identifiers and updated lock versions.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successful
BatchDeleteDataTableValueResponse.Builder successful(Collection<BatchDeleteDataTableValueSuccessResult> successful) A list of successfully deleted values with their identifiers and updated lock versions.
- Parameters:
successful- A list of successfully deleted values with their identifiers and updated lock versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchDeleteDataTableValueResponse.Builder successful(BatchDeleteDataTableValueSuccessResult... successful) A list of successfully deleted values with their identifiers and updated lock versions.
- Parameters:
successful- A list of successfully deleted values with their identifiers and updated lock versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchDeleteDataTableValueResponse.Builder successful(Consumer<BatchDeleteDataTableValueSuccessResult.Builder>... successful) A list of successfully deleted values with their identifiers and updated lock versions.
This is a convenience method that creates an instance of theBatchDeleteDataTableValueSuccessResult.Builderavoiding the need to create one manually viaBatchDeleteDataTableValueSuccessResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchDeleteDataTableValueSuccessResult>).- Parameters:
successful- a consumer that will call methods onBatchDeleteDataTableValueSuccessResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
BatchDeleteDataTableValueResponse.Builder failed(Collection<BatchDeleteDataTableValueFailureResult> failed) A list of values that failed to be deleted with error messages explaining the failure reason.
- Parameters:
failed- A list of values that failed to be deleted with error messages explaining the failure reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of values that failed to be deleted with error messages explaining the failure reason.
- Parameters:
failed- A list of values that failed to be deleted with error messages explaining the failure reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchDeleteDataTableValueResponse.Builder failed(Consumer<BatchDeleteDataTableValueFailureResult.Builder>... failed) A list of values that failed to be deleted with error messages explaining the failure reason.
This is a convenience method that creates an instance of theBatchDeleteDataTableValueFailureResult.Builderavoiding the need to create one manually viaBatchDeleteDataTableValueFailureResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchDeleteDataTableValueFailureResult>).- Parameters:
failed- a consumer that will call methods onBatchDeleteDataTableValueFailureResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-