Interface Attribution.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Attribution.Builder,,- Attribution> - SdkBuilder<Attribution.Builder,,- Attribution> - SdkPojo
- Enclosing class:
- Attribution
@Mutable
@NotThreadSafe
public static interface Attribution.Builder
extends SdkPojo, CopyableBuilder<Attribution.Builder,Attribution> 
- 
Method SummaryModifier and TypeMethodDescriptioncitations(Collection<Citation> citations) A list of citations and related information for a part of an agent response.citations(Consumer<Citation.Builder>... citations) A list of citations and related information for a part of an agent response.A list of citations and related information for a part of an agent response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
citationsA list of citations and related information for a part of an agent response. - Parameters:
- citations- A list of citations and related information for a part of an agent response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
citationsA list of citations and related information for a part of an agent response. - Parameters:
- citations- A list of citations and related information for a part of an agent response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
citationsA list of citations and related information for a part of an agent 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 on- Citation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-