Interface InvocationOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InvocationOutput.Builder,
,InvocationOutput> SdkBuilder<InvocationOutput.Builder,
,InvocationOutput> SdkPojo
- All Known Subinterfaces:
DefaultOutput.Builder
- Enclosing class:
InvocationOutput
@Mutable
@NotThreadSafe
public static interface InvocationOutput.Builder
extends SdkPojo, CopyableBuilder<InvocationOutput.Builder,InvocationOutput>
-
Method Summary
Modifier and TypeMethodDescriptioncitations
(Collection<Citation> citations) A list of citations, and related information for the SiteWise Assistant's response.citations
(Consumer<Citation.Builder>... citations) A list of citations, and related information for the SiteWise Assistant's response.A list of citations, and related information for the SiteWise Assistant's response.The text message of the SiteWise Assistant's response.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
-
message
The text message of the SiteWise Assistant's response.
- Parameters:
message
- The text message of the SiteWise Assistant's response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citations
A list of citations, and related information for the SiteWise Assistant's response.
- Parameters:
citations
- A list of citations, and related information for the SiteWise Assistant's response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citations
A list of citations, and related information for the SiteWise Assistant's response.
- Parameters:
citations
- A list of citations, and related information for the SiteWise Assistant's response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citations
A list of citations, and related information for the SiteWise Assistant's response.
This is a convenience method that creates an instance of theCitation.Builder
avoiding the need to create one manually viaCitation.builder()
.When the
Consumer
completes,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:
-