Interface BatchDeleteFeaturedResultsSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteFeaturedResultsSetResponse.Builder,,BatchDeleteFeaturedResultsSetResponse> KendraResponse.Builder,SdkBuilder<BatchDeleteFeaturedResultsSetResponse.Builder,,BatchDeleteFeaturedResultsSetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteFeaturedResultsSetResponse
public static interface BatchDeleteFeaturedResultsSetResponse.Builder
extends KendraResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteFeaturedResultsSetResponse.Builder,BatchDeleteFeaturedResultsSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.errors(Consumer<BatchDeleteFeaturedResultsSetError.Builder>... errors) The list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.errors(BatchDeleteFeaturedResultsSetError... errors) The list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
BatchDeleteFeaturedResultsSetResponse.Builder errors(Collection<BatchDeleteFeaturedResultsSetError> errors) The list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.
- Parameters:
errors- The list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.
- Parameters:
errors- The list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteFeaturedResultsSetResponse.Builder errors(Consumer<BatchDeleteFeaturedResultsSetError.Builder>... errors) The list of errors for the featured results set IDs, explaining why they couldn't be removed from the index.
This is a convenience method that creates an instance of theBatchDeleteFeaturedResultsSetError.Builderavoiding the need to create one manually viaBatchDeleteFeaturedResultsSetError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchDeleteFeaturedResultsSetError>).- Parameters:
errors- a consumer that will call methods onBatchDeleteFeaturedResultsSetError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-