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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataReference.BuildercontentReference(Consumer<ContentReference.Builder> contentReference)Sets the value of the ContentReference property for this object.DataReference.BuildercontentReference(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.DataReference.BuildergenerativeReference(GenerativeReference generativeReference)Reference information about the generative content.-
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, sdkFields
-
-
-
-
Method Detail
-
contentReference
DataReference.Builder contentReference(ContentReference 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
default DataReference.Builder contentReference(Consumer<ContentReference.Builder> 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:
contentReference(ContentReference)
-
generativeReference
DataReference.Builder generativeReference(GenerativeReference 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:
generativeReference(GenerativeReference)
-
-