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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Citation.Buildercontent(Consumer<Content.Builder> content)Contains the cited text from the data source.Citation.Buildercontent(Content content)Contains the cited text from the data source.default Citation.Builderreference(Consumer<Reference.Builder> reference)Contains information about the data source.Citation.Builderreference(Reference reference)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 Detail
-
reference
Citation.Builder reference(Reference 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
default Citation.Builder reference(Consumer<Reference.Builder> 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:
reference(Reference)
-
content
Citation.Builder content(Content 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
default Citation.Builder content(Consumer<Content.Builder> 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:
content(Content)
-
-