Interface Status.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Status.Builder,Status>,SdkBuilder<Status.Builder,Status>,SdkPojo
- Enclosing class:
- Status
public static interface Status.Builder extends SdkPojo, CopyableBuilder<Status.Builder,Status>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Status.BuilderdocumentId(String documentId)The identifier of the document.Status.BuilderdocumentStatus(String documentStatus)The current status of a document.Status.BuilderdocumentStatus(DocumentStatus documentStatus)The current status of a document.Status.BuilderfailureCode(String failureCode)Indicates the source of the error.Status.BuilderfailureReason(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 Detail
-
documentId
Status.Builder documentId(String 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
Status.Builder documentStatus(String documentStatus)
The current status of a document.
If the document was submitted for deletion, the status is
NOT_FOUNDafter the document is deleted.- Parameters:
documentStatus- The current status of a document.If the document was submitted for deletion, the status is
NOT_FOUNDafter the document is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentStatus,DocumentStatus
-
documentStatus
Status.Builder documentStatus(DocumentStatus documentStatus)
The current status of a document.
If the document was submitted for deletion, the status is
NOT_FOUNDafter the document is deleted.- Parameters:
documentStatus- The current status of a document.If the document was submitted for deletion, the status is
NOT_FOUNDafter the document is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentStatus,DocumentStatus
-
failureCode
Status.Builder failureCode(String 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
Status.Builder failureReason(String 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.
-
-