Interface RetrievalResultContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RetrievalResultContent.Builder,
,RetrievalResultContent> SdkBuilder<RetrievalResultContent.Builder,
,RetrievalResultContent> SdkPojo
- Enclosing class:
RetrievalResultContent
@Mutable
@NotThreadSafe
public static interface RetrievalResultContent.Builder
extends SdkPojo, CopyableBuilder<RetrievalResultContent.Builder,RetrievalResultContent>
-
Method Summary
Modifier and TypeMethodDescriptionbyteContent
(String byteContent) A data URI with base64-encoded content from the data source.Specifies information about the rows with the cells to return in retrieval.Specifies information about the rows with the cells to return in retrieval.row
(RetrievalResultContentColumn... row) Specifies information about the rows with the cells to return in retrieval.The cited text from the data source.The type of content in the retrieval result.The type of content in the retrieval result.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, sdkFieldNameToField, sdkFields
-
Method Details
-
byteContent
A data URI with base64-encoded content from the data source. The URI is in the following format: returned in the following format:
data:image/jpeg;base64,${base64-encoded string}
.- Parameters:
byteContent
- A data URI with base64-encoded content from the data source. The URI is in the following format: returned in the following format:data:image/jpeg;base64,${base64-encoded string}
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
row
Specifies information about the rows with the cells to return in retrieval.
- Parameters:
row
- Specifies information about the rows with the cells to return in retrieval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
row
Specifies information about the rows with the cells to return in retrieval.
- Parameters:
row
- Specifies information about the rows with the cells to return in retrieval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
row
Specifies information about the rows with the cells to return in retrieval.
This is a convenience method that creates an instance of theRetrievalResultContentColumn.Builder
avoiding the need to create one manually viaRetrievalResultContentColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torow(List<RetrievalResultContentColumn>)
.- Parameters:
row
- a consumer that will call methods onRetrievalResultContentColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
text
The cited text from the data source.
- Parameters:
text
- The cited text from the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of content in the retrieval result.
- Parameters:
type
- The type of content in the retrieval result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of content in the retrieval result.
- Parameters:
type
- The type of content in the retrieval result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-