Interface Citation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Citation.Builder,
,Citation> SdkBuilder<Citation.Builder,
,Citation> SdkPojo
- Enclosing class:
Citation
@Mutable
@NotThreadSafe
public static interface Citation.Builder
extends SdkPojo, CopyableBuilder<Citation.Builder,Citation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Citation.Builder
content
(Consumer<Content.Builder> content) Contains the cited text from the data source.Contains the cited text from the data source.default Citation.Builder
reference
(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
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
-
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.Builder
avoiding the need to create one manually viaReference.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaContent.builder()
.When the
Consumer
completes,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:
-