Interface DataReference.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DataReference.Builder,,- DataReference> - SdkBuilder<DataReference.Builder,,- DataReference> - SdkPojo
- Enclosing class:
- DataReference
@Mutable
@NotThreadSafe
public static interface DataReference.Builder
extends SdkPojo, CopyableBuilder<DataReference.Builder,DataReference> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
contentReferenceSets 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.
 
- 
contentReferenceSets 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 on- ContentReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
generativeReferenceReference 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.
 
- 
generativeReferencedefault 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 on- GenerativeReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-