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