@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataReference extends Object implements Serializable, Cloneable, StructuredPojo
Reference data.
| Constructor and Description |
|---|
DataReference() |
| Modifier and Type | Method and Description |
|---|---|
DataReference |
clone() |
boolean |
equals(Object obj) |
ContentReference |
getContentReference() |
GenerativeReference |
getGenerativeReference()
Reference information about the generative content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContentReference(ContentReference contentReference) |
void |
setGenerativeReference(GenerativeReference generativeReference)
Reference information about the generative content.
|
String |
toString()
Returns a string representation of this object.
|
DataReference |
withContentReference(ContentReference contentReference) |
DataReference |
withGenerativeReference(GenerativeReference generativeReference)
Reference information about the generative content.
|
public void setContentReference(ContentReference contentReference)
contentReference - public ContentReference getContentReference()
public DataReference withContentReference(ContentReference contentReference)
contentReference - public void setGenerativeReference(GenerativeReference generativeReference)
Reference information about the generative content.
generativeReference - Reference information about the generative content.public GenerativeReference getGenerativeReference()
Reference information about the generative content.
public DataReference withGenerativeReference(GenerativeReference generativeReference)
Reference information about the generative content.
generativeReference - Reference information about the generative content.public String toString()
toString in class ObjectObject.toString()public DataReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.