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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetrievalResultContent.BuilderbyteContent(String byteContent)A data URI with base64-encoded content from the data source.RetrievalResultContent.Builderrow(Collection<RetrievalResultContentColumn> row)Specifies information about the rows with the cells to return in retrieval.RetrievalResultContent.Builderrow(Consumer<RetrievalResultContentColumn.Builder>... row)Specifies information about the rows with the cells to return in retrieval.RetrievalResultContent.Builderrow(RetrievalResultContentColumn... row)Specifies information about the rows with the cells to return in retrieval.RetrievalResultContent.Buildertext(String text)The cited text from the data source.RetrievalResultContent.Buildertype(String type)The type of content in the retrieval result.RetrievalResultContent.Buildertype(RetrievalResultContentType type)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 Detail
-
byteContent
RetrievalResultContent.Builder byteContent(String 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
RetrievalResultContent.Builder row(Collection<RetrievalResultContentColumn> 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
RetrievalResultContent.Builder row(RetrievalResultContentColumn... 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
RetrievalResultContent.Builder row(Consumer<RetrievalResultContentColumn.Builder>... row)
Specifies information about the rows with the cells to return in retrieval.
This is a convenience method that creates an instance of theRetrievalResultContentColumn.Builderavoiding the need to create one manually viaRetrievalResultContentColumn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#row(List.) - 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:
#row(java.util.Collection)
-
text
RetrievalResultContent.Builder text(String 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
RetrievalResultContent.Builder type(String 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:
RetrievalResultContentType,RetrievalResultContentType
-
type
RetrievalResultContent.Builder type(RetrievalResultContentType 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:
RetrievalResultContentType,RetrievalResultContentType
-
-