@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 Object
Object.toString()
public DataReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.