Interface DataReference.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataReference.Builder,,DataReference> SdkBuilder<DataReference.Builder,,DataReference> SdkPojo
- Enclosing class:
DataReference
public static interface DataReference.Builder
extends SdkPojo, CopyableBuilder<DataReference.Builder,DataReference>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataReference.BuildercontentReference(Consumer<ContentReference.Builder> contentReference) Sets the value of the ContentReference property for this object.contentReference(ContentReference contentReference) Sets the value of the ContentReference property for this object.default DataReference.BuildergenerativeReference(Consumer<GenerativeReference.Builder> generativeReference) Reference information about the generative content.generativeReference(GenerativeReference generativeReference) Reference information about the generative content.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, sdkFields
-
Method Details
-
contentReference
Sets the value of the ContentReference property for this object.- Parameters:
contentReference- The new value for the ContentReference property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentReference
Sets the value of the ContentReference property for this object. This is a convenience method that creates an instance of theContentReference.Builderavoiding the need to create one manually viaContentReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontentReference(ContentReference).- Parameters:
contentReference- a consumer that will call methods onContentReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
generativeReference
Reference information about the generative content.
- Parameters:
generativeReference- Reference information about the generative content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeReference
default DataReference.Builder generativeReference(Consumer<GenerativeReference.Builder> generativeReference) Reference information about the generative content.
This is a convenience method that creates an instance of theGenerativeReference.Builderavoiding the need to create one manually viaGenerativeReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togenerativeReference(GenerativeReference).- Parameters:
generativeReference- a consumer that will call methods onGenerativeReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-