@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes the document.
| Constructor and Description | 
|---|
| DocumentMetadata() | 
| Modifier and Type | Method and Description | 
|---|---|
| DocumentMetadata | clone() | 
| boolean | equals(Object obj) | 
| Date | getCreatedTimestamp()
 The time when the document was created. | 
| String | getCreatorId()
 The ID of the creator. | 
| String | getId()
 The ID of the document. | 
| DocumentVersionMetadata | getLatestVersionMetadata()
 The latest version of the document. | 
| Date | getModifiedTimestamp()
 The time when the document was updated. | 
| String | getParentFolderId()
 The ID of the parent folder. | 
| String | getResourceState()
 The resource state. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCreatedTimestamp(Date createdTimestamp)
 The time when the document was created. | 
| void | setCreatorId(String creatorId)
 The ID of the creator. | 
| void | setId(String id)
 The ID of the document. | 
| void | setLatestVersionMetadata(DocumentVersionMetadata latestVersionMetadata)
 The latest version of the document. | 
| void | setModifiedTimestamp(Date modifiedTimestamp)
 The time when the document was updated. | 
| void | setParentFolderId(String parentFolderId)
 The ID of the parent folder. | 
| void | setResourceState(ResourceStateType resourceState)
 The resource state. | 
| void | setResourceState(String resourceState)
 The resource state. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| DocumentMetadata | withCreatedTimestamp(Date createdTimestamp)
 The time when the document was created. | 
| DocumentMetadata | withCreatorId(String creatorId)
 The ID of the creator. | 
| DocumentMetadata | withId(String id)
 The ID of the document. | 
| DocumentMetadata | withLatestVersionMetadata(DocumentVersionMetadata latestVersionMetadata)
 The latest version of the document. | 
| DocumentMetadata | withModifiedTimestamp(Date modifiedTimestamp)
 The time when the document was updated. | 
| DocumentMetadata | withParentFolderId(String parentFolderId)
 The ID of the parent folder. | 
| DocumentMetadata | withResourceState(ResourceStateType resourceState)
 The resource state. | 
| DocumentMetadata | withResourceState(String resourceState)
 The resource state. | 
public void setId(String id)
The ID of the document.
id - The ID of the document.public String getId()
The ID of the document.
public DocumentMetadata withId(String id)
The ID of the document.
id - The ID of the document.public void setCreatorId(String creatorId)
The ID of the creator.
creatorId - The ID of the creator.public String getCreatorId()
The ID of the creator.
public DocumentMetadata withCreatorId(String creatorId)
The ID of the creator.
creatorId - The ID of the creator.public void setParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId - The ID of the parent folder.public String getParentFolderId()
The ID of the parent folder.
public DocumentMetadata withParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId - The ID of the parent folder.public void setCreatedTimestamp(Date createdTimestamp)
The time when the document was created.
createdTimestamp - The time when the document was created.public Date getCreatedTimestamp()
The time when the document was created.
public DocumentMetadata withCreatedTimestamp(Date createdTimestamp)
The time when the document was created.
createdTimestamp - The time when the document was created.public void setModifiedTimestamp(Date modifiedTimestamp)
The time when the document was updated.
modifiedTimestamp - The time when the document was updated.public Date getModifiedTimestamp()
The time when the document was updated.
public DocumentMetadata withModifiedTimestamp(Date modifiedTimestamp)
The time when the document was updated.
modifiedTimestamp - The time when the document was updated.public void setLatestVersionMetadata(DocumentVersionMetadata latestVersionMetadata)
The latest version of the document.
latestVersionMetadata - The latest version of the document.public DocumentVersionMetadata getLatestVersionMetadata()
The latest version of the document.
public DocumentMetadata withLatestVersionMetadata(DocumentVersionMetadata latestVersionMetadata)
The latest version of the document.
latestVersionMetadata - The latest version of the document.public void setResourceState(String resourceState)
The resource state.
resourceState - The resource state.ResourceStateTypepublic String getResourceState()
The resource state.
ResourceStateTypepublic DocumentMetadata withResourceState(String resourceState)
The resource state.
resourceState - The resource state.ResourceStateTypepublic void setResourceState(ResourceStateType resourceState)
The resource state.
resourceState - The resource state.ResourceStateTypepublic DocumentMetadata withResourceState(ResourceStateType resourceState)
The resource state.
resourceState - The resource state.ResourceStateTypepublic String toString()
toString in class ObjectObject.toString()public DocumentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.