Interface QuerySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuerySummary.Builder,,QuerySummary> SdkBuilder<QuerySummary.Builder,,QuerySummary> SdkPojo
- Enclosing class:
QuerySummary
-
Method Summary
Modifier and TypeMethodDescriptioncitations(Collection<Citation> citations) Supporting citations for the response.citations(Consumer<Citation.Builder>... citations) Supporting citations for the response.Supporting citations for the response.Timestamp when the query was created.The actual query text.queryIdentifier(Integer queryIdentifier) Sequential identifier of the query within the inquiry.Generated response to the query.reviewType(String reviewType) Type of review for the response.reviewType(ReviewType reviewType) Type of review for the response.Current processing status of the query.status(QueryStatus status) Current processing status of the query.statusMessage(String statusMessage) Descriptive status message.statusMessage(QueryStatusMessage statusMessage) Descriptive status message.updatedResponseVersions(Collection<ResponseVersion> updatedResponseVersions) Ordered list of response version history entries, oldest first.updatedResponseVersions(Consumer<ResponseVersion.Builder>... updatedResponseVersions) Ordered list of response version history entries, oldest first.updatedResponseVersions(ResponseVersion... updatedResponseVersions) Ordered list of response version history entries, oldest first.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
-
queryIdentifier
Sequential identifier of the query within the inquiry.
- Parameters:
queryIdentifier- Sequential identifier of the query within the inquiry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
query
The actual query text.
- Parameters:
query- The actual query text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
response
Generated response to the query.
- Parameters:
response- Generated response to the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewType
Type of review for the response.
- Parameters:
reviewType- Type of review for the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reviewType
Type of review for the response.
- Parameters:
reviewType- Type of review for the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
citations
Supporting citations for the response.
- Parameters:
citations- Supporting citations for the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citations
Supporting citations for the response.
- Parameters:
citations- Supporting citations for the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citations
Supporting citations for the response.
This is a convenience method that creates an instance of theCitation.Builderavoiding the need to create one manually viaCitation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocitations(List<Citation>).- Parameters:
citations- a consumer that will call methods onCitation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Current processing status of the query.
- Parameters:
status- Current processing status of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Current processing status of the query.
- Parameters:
status- Current processing status of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Descriptive status message.
- Parameters:
statusMessage- Descriptive status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Descriptive status message.
- Parameters:
statusMessage- Descriptive status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
Timestamp when the query was created.
- Parameters:
createdAt- Timestamp when the query was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedResponseVersions
Ordered list of response version history entries, oldest first.
- Parameters:
updatedResponseVersions- Ordered list of response version history entries, oldest first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedResponseVersions
Ordered list of response version history entries, oldest first.
- Parameters:
updatedResponseVersions- Ordered list of response version history entries, oldest first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedResponseVersions
QuerySummary.Builder updatedResponseVersions(Consumer<ResponseVersion.Builder>... updatedResponseVersions) Ordered list of response version history entries, oldest first.
This is a convenience method that creates an instance of theResponseVersion.Builderavoiding the need to create one manually viaResponseVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdatedResponseVersions(List<ResponseVersion>).- Parameters:
updatedResponseVersions- a consumer that will call methods onResponseVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-