Interface Citation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Citation.Builder,,Citation> SdkBuilder<Citation.Builder,,Citation> SdkPojo
- Enclosing class:
Citation
public static interface Citation.Builder
extends SdkPojo, CopyableBuilder<Citation.Builder,Citation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Citation.Buildercontent(Consumer<Content.Builder> content) Contains the cited text from the data source.Contains the cited text from the data source.default Citation.Builderreference(Consumer<Reference.Builder> reference) Contains information about the data source.Contains information about the data source.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
-
reference
Contains information about the data source.
- Parameters:
reference- Contains information about the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reference
Contains information about the data source.
This is a convenience method that creates an instance of theReference.Builderavoiding the need to create one manually viaReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreference(Reference).- Parameters:
reference- a consumer that will call methods onReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
Contains the cited text from the data source.
- Parameters:
content- Contains the cited text from the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Contains the cited text from the data source.
This is a convenience method that creates an instance of theContent.Builderavoiding the need to create one manually viaContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(Content).- Parameters:
content- a consumer that will call methods onContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-