Interface FailedDocument.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FailedDocument.Builder,,- FailedDocument> - SdkBuilder<FailedDocument.Builder,,- FailedDocument> - SdkPojo
- Enclosing class:
- FailedDocument
@Mutable
@NotThreadSafe
public static interface FailedDocument.Builder
extends SdkPojo, CopyableBuilder<FailedDocument.Builder,FailedDocument> 
- 
Method SummaryModifier and TypeMethodDescriptiondataSourceId(String dataSourceId) The identifier of the Amazon Q Business data source connector that contains the failed document.default FailedDocument.Buildererror(Consumer<ErrorDetail.Builder> error) An explanation for why the document couldn't be removed from the index.error(ErrorDetail error) An explanation for why the document couldn't be removed from the index.The identifier of the document that couldn't be removed from the Amazon Q Business index.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
idThe identifier of the document that couldn't be removed from the Amazon Q Business index. - Parameters:
- id- The identifier of the document that couldn't be removed from the Amazon Q Business index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorAn explanation for why the document couldn't be removed from the index. - Parameters:
- error- An explanation for why the document couldn't be removed from the index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorAn explanation for why the document couldn't be removed from the index. This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetail).- Parameters:
- error- a consumer that will call methods on- ErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
dataSourceIdThe identifier of the Amazon Q Business data source connector that contains the failed document. - Parameters:
- dataSourceId- The identifier of the Amazon Q Business data source connector that contains the failed document.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-