Interface Status.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Status.Builder,
,Status> SdkBuilder<Status.Builder,
,Status> SdkPojo
- Enclosing class:
Status
-
Method Summary
Modifier and TypeMethodDescriptiondocumentId
(String documentId) The identifier of the document.documentStatus
(String documentStatus) The current status of a document.documentStatus
(DocumentStatus documentStatus) The current status of a document.failureCode
(String failureCode) Indicates the source of the error.failureReason
(String failureReason) Provides detailed information about why the document couldn't be indexed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
documentId
The identifier of the document.
- Parameters:
documentId
- The identifier of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentStatus
The current status of a document.
If the document was submitted for deletion, the status is
NOT_FOUND
after the document is deleted.- Parameters:
documentStatus
- The current status of a document.If the document was submitted for deletion, the status is
NOT_FOUND
after the document is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentStatus
The current status of a document.
If the document was submitted for deletion, the status is
NOT_FOUND
after the document is deleted.- Parameters:
documentStatus
- The current status of a document.If the document was submitted for deletion, the status is
NOT_FOUND
after the document is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
Indicates the source of the error.
- Parameters:
failureCode
- Indicates the source of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
Provides detailed information about why the document couldn't be indexed. Use this information to correct the error before you resubmit the document for indexing.
- Parameters:
failureReason
- Provides detailed information about why the document couldn't be indexed. Use this information to correct the error before you resubmit the document for indexing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-