Interface RetrieveResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RetrieveResult.Builder,,RetrieveResult> SdkBuilder<RetrieveResult.Builder,,RetrieveResult> SdkPojo
- Enclosing class:
RetrieveResult
@Mutable
@NotThreadSafe
public static interface RetrieveResult.Builder
extends SdkPojo, CopyableBuilder<RetrieveResult.Builder,RetrieveResult>
-
Method Summary
Modifier and TypeMethodDescriptionassociationId(String associationId) The identifier of the assistant association for the retrieved result.contentText(String contentText) The text content of the retrieved result.referenceType(String referenceType) A type to define the KB origin of a retrieved content.referenceType(ReferenceType referenceType) A type to define the KB origin of a retrieved content.The URL, URI, or ID of the retrieved content when available, or a UUID when unavailable.Methods 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, sdkFields
-
Method Details
-
associationId
The identifier of the assistant association for the retrieved result.
- Parameters:
associationId- The identifier of the assistant association for the retrieved result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceId
The URL, URI, or ID of the retrieved content when available, or a UUID when unavailable.
- Parameters:
sourceId- The URL, URI, or ID of the retrieved content when available, or a UUID when unavailable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceType
A type to define the KB origin of a retrieved content.
- Parameters:
referenceType- A type to define the KB origin of a retrieved content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
referenceType
A type to define the KB origin of a retrieved content.
- Parameters:
referenceType- A type to define the KB origin of a retrieved content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentText
The text content of the retrieved result.
- Parameters:
contentText- The text content of the retrieved result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-