Interface BatchUpdateDataTableValueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<BatchUpdateDataTableValueResponse.Builder,,BatchUpdateDataTableValueResponse> SdkBuilder<BatchUpdateDataTableValueResponse.Builder,,BatchUpdateDataTableValueResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchUpdateDataTableValueResponse
-
Method Summary
Modifier and TypeMethodDescriptionA list of values that failed to be updated with error messages explaining the failure reason.A list of values that failed to be updated with error messages explaining the failure reason.failed(BatchUpdateDataTableValueFailureResult... failed) A list of values that failed to be updated with error messages explaining the failure reason.successful(Collection<BatchUpdateDataTableValueSuccessResult> successful) A list of successfully updated values with their new lock versions and identifiers.successful(Consumer<BatchUpdateDataTableValueSuccessResult.Builder>... successful) A list of successfully updated values with their new lock versions and identifiers.successful(BatchUpdateDataTableValueSuccessResult... successful) A list of successfully updated values with their new lock versions and identifiers.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
BatchUpdateDataTableValueResponse.Builder successful(Collection<BatchUpdateDataTableValueSuccessResult> successful) A list of successfully updated values with their new lock versions and identifiers.
- Parameters:
successful- A list of successfully updated values with their new lock versions and identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchUpdateDataTableValueResponse.Builder successful(BatchUpdateDataTableValueSuccessResult... successful) A list of successfully updated values with their new lock versions and identifiers.
- Parameters:
successful- A list of successfully updated values with their new lock versions and identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchUpdateDataTableValueResponse.Builder successful(Consumer<BatchUpdateDataTableValueSuccessResult.Builder>... successful) A list of successfully updated values with their new lock versions and identifiers.
This is a convenience method that creates an instance of theBatchUpdateDataTableValueSuccessResult.Builderavoiding the need to create one manually viaBatchUpdateDataTableValueSuccessResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchUpdateDataTableValueSuccessResult>).- Parameters:
successful- a consumer that will call methods onBatchUpdateDataTableValueSuccessResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
BatchUpdateDataTableValueResponse.Builder failed(Collection<BatchUpdateDataTableValueFailureResult> failed) A list of values that failed to be updated with error messages explaining the failure reason.
- Parameters:
failed- A list of values that failed to be updated 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 updated with error messages explaining the failure reason.
- Parameters:
failed- A list of values that failed to be updated with error messages explaining the failure reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchUpdateDataTableValueResponse.Builder failed(Consumer<BatchUpdateDataTableValueFailureResult.Builder>... failed) A list of values that failed to be updated with error messages explaining the failure reason.
This is a convenience method that creates an instance of theBatchUpdateDataTableValueFailureResult.Builderavoiding the need to create one manually viaBatchUpdateDataTableValueFailureResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchUpdateDataTableValueFailureResult>).- Parameters:
failed- a consumer that will call methods onBatchUpdateDataTableValueFailureResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-