@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Document extends Object implements Serializable, Cloneable, StructuredPojo
The document.
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
Document |
clone() |
boolean |
equals(Object obj) |
ContentReference |
getContentReference()
A reference to the content resource.
|
DocumentText |
getExcerpt()
The excerpt from the document.
|
DocumentText |
getTitle()
The title of the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContentReference(ContentReference contentReference)
A reference to the content resource.
|
void |
setExcerpt(DocumentText excerpt)
The excerpt from the document.
|
void |
setTitle(DocumentText title)
The title of the document.
|
String |
toString()
Returns a string representation of this object.
|
Document |
withContentReference(ContentReference contentReference)
A reference to the content resource.
|
Document |
withExcerpt(DocumentText excerpt)
The excerpt from the document.
|
Document |
withTitle(DocumentText title)
The title of the document.
|
public void setContentReference(ContentReference contentReference)
A reference to the content resource.
contentReference
- A reference to the content resource.public ContentReference getContentReference()
A reference to the content resource.
public Document withContentReference(ContentReference contentReference)
A reference to the content resource.
contentReference
- A reference to the content resource.public void setExcerpt(DocumentText excerpt)
The excerpt from the document.
excerpt
- The excerpt from the document.public DocumentText getExcerpt()
The excerpt from the document.
public Document withExcerpt(DocumentText excerpt)
The excerpt from the document.
excerpt
- The excerpt from the document.public void setTitle(DocumentText title)
The title of the document.
title
- The title of the document.public DocumentText getTitle()
The title of the document.
public Document withTitle(DocumentText title)
The title of the document.
title
- The title of the document.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.