@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResponseItem extends Object implements Serializable, Cloneable, StructuredPojo
List of Documents, Folders, Comments, and Document Versions matching the query.
| Constructor and Description |
|---|
ResponseItem() |
| Modifier and Type | Method and Description |
|---|---|
ResponseItem |
clone() |
boolean |
equals(Object obj) |
CommentMetadata |
getCommentMetadata()
The comment that matches the query.
|
DocumentMetadata |
getDocumentMetadata()
The document that matches the query.
|
DocumentVersionMetadata |
getDocumentVersionMetadata()
The document version that matches the metadata.
|
FolderMetadata |
getFolderMetadata()
The folder that matches the query.
|
String |
getResourceType()
The type of item being returned.
|
String |
getWebUrl()
The webUrl of the item being returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCommentMetadata(CommentMetadata commentMetadata)
The comment that matches the query.
|
void |
setDocumentMetadata(DocumentMetadata documentMetadata)
The document that matches the query.
|
void |
setDocumentVersionMetadata(DocumentVersionMetadata documentVersionMetadata)
The document version that matches the metadata.
|
void |
setFolderMetadata(FolderMetadata folderMetadata)
The folder that matches the query.
|
void |
setResourceType(String resourceType)
The type of item being returned.
|
void |
setWebUrl(String webUrl)
The webUrl of the item being returned.
|
String |
toString()
Returns a string representation of this object.
|
ResponseItem |
withCommentMetadata(CommentMetadata commentMetadata)
The comment that matches the query.
|
ResponseItem |
withDocumentMetadata(DocumentMetadata documentMetadata)
The document that matches the query.
|
ResponseItem |
withDocumentVersionMetadata(DocumentVersionMetadata documentVersionMetadata)
The document version that matches the metadata.
|
ResponseItem |
withFolderMetadata(FolderMetadata folderMetadata)
The folder that matches the query.
|
ResponseItem |
withResourceType(ResponseItemType resourceType)
The type of item being returned.
|
ResponseItem |
withResourceType(String resourceType)
The type of item being returned.
|
ResponseItem |
withWebUrl(String webUrl)
The webUrl of the item being returned.
|
public void setResourceType(String resourceType)
The type of item being returned.
resourceType - The type of item being returned.ResponseItemTypepublic String getResourceType()
The type of item being returned.
ResponseItemTypepublic ResponseItem withResourceType(String resourceType)
The type of item being returned.
resourceType - The type of item being returned.ResponseItemTypepublic ResponseItem withResourceType(ResponseItemType resourceType)
The type of item being returned.
resourceType - The type of item being returned.ResponseItemTypepublic void setWebUrl(String webUrl)
The webUrl of the item being returned.
webUrl - The webUrl of the item being returned.public String getWebUrl()
The webUrl of the item being returned.
public ResponseItem withWebUrl(String webUrl)
The webUrl of the item being returned.
webUrl - The webUrl of the item being returned.public void setDocumentMetadata(DocumentMetadata documentMetadata)
The document that matches the query.
documentMetadata - The document that matches the query.public DocumentMetadata getDocumentMetadata()
The document that matches the query.
public ResponseItem withDocumentMetadata(DocumentMetadata documentMetadata)
The document that matches the query.
documentMetadata - The document that matches the query.public void setFolderMetadata(FolderMetadata folderMetadata)
The folder that matches the query.
folderMetadata - The folder that matches the query.public FolderMetadata getFolderMetadata()
The folder that matches the query.
public ResponseItem withFolderMetadata(FolderMetadata folderMetadata)
The folder that matches the query.
folderMetadata - The folder that matches the query.public void setCommentMetadata(CommentMetadata commentMetadata)
The comment that matches the query.
commentMetadata - The comment that matches the query.public CommentMetadata getCommentMetadata()
The comment that matches the query.
public ResponseItem withCommentMetadata(CommentMetadata commentMetadata)
The comment that matches the query.
commentMetadata - The comment that matches the query.public void setDocumentVersionMetadata(DocumentVersionMetadata documentVersionMetadata)
The document version that matches the metadata.
documentVersionMetadata - The document version that matches the metadata.public DocumentVersionMetadata getDocumentVersionMetadata()
The document version that matches the metadata.
public ResponseItem withDocumentVersionMetadata(DocumentVersionMetadata documentVersionMetadata)
The document version that matches the metadata.
documentVersionMetadata - The document version that matches the metadata.public String toString()
toString in class ObjectObject.toString()public ResponseItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.