@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentVersionMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes a version of a document.
Constructor and Description |
---|
DocumentVersionMetadata() |
Modifier and Type | Method and Description |
---|---|
DocumentVersionMetadata |
addSourceEntry(String key,
String value) |
DocumentVersionMetadata |
addThumbnailEntry(String key,
String value) |
DocumentVersionMetadata |
clearSourceEntries()
Removes all the entries added into Source.
|
DocumentVersionMetadata |
clearThumbnailEntries()
Removes all the entries added into Thumbnail.
|
DocumentVersionMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getContentCreatedTimestamp()
The time stamp when the content of the document was originally created.
|
Date |
getContentModifiedTimestamp()
The time stamp when the content of the document was modified.
|
String |
getContentType()
The content type of the document.
|
Date |
getCreatedTimestamp()
The time stamp when the document was first uploaded.
|
String |
getCreatorId()
The ID of the creator.
|
String |
getId()
The ID of the version.
|
Date |
getModifiedTimestamp()
The time stamp when the document was last uploaded.
|
String |
getName()
The name of the version.
|
String |
getSignature()
The signature of the document.
|
Long |
getSize()
The size of the document, in bytes.
|
Map<String,String> |
getSource()
The source of the document.
|
String |
getStatus()
The status of the document.
|
Map<String,String> |
getThumbnail()
The thumbnail of the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContentCreatedTimestamp(Date contentCreatedTimestamp)
The time stamp when the content of the document was originally created.
|
void |
setContentModifiedTimestamp(Date contentModifiedTimestamp)
The time stamp when the content of the document was modified.
|
void |
setContentType(String contentType)
The content type of the document.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time stamp when the document was first uploaded.
|
void |
setCreatorId(String creatorId)
The ID of the creator.
|
void |
setId(String id)
The ID of the version.
|
void |
setModifiedTimestamp(Date modifiedTimestamp)
The time stamp when the document was last uploaded.
|
void |
setName(String name)
The name of the version.
|
void |
setSignature(String signature)
The signature of the document.
|
void |
setSize(Long size)
The size of the document, in bytes.
|
void |
setSource(Map<String,String> source)
The source of the document.
|
void |
setStatus(DocumentStatusType status)
The status of the document.
|
void |
setStatus(String status)
The status of the document.
|
void |
setThumbnail(Map<String,String> thumbnail)
The thumbnail of the document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DocumentVersionMetadata |
withContentCreatedTimestamp(Date contentCreatedTimestamp)
The time stamp when the content of the document was originally created.
|
DocumentVersionMetadata |
withContentModifiedTimestamp(Date contentModifiedTimestamp)
The time stamp when the content of the document was modified.
|
DocumentVersionMetadata |
withContentType(String contentType)
The content type of the document.
|
DocumentVersionMetadata |
withCreatedTimestamp(Date createdTimestamp)
The time stamp when the document was first uploaded.
|
DocumentVersionMetadata |
withCreatorId(String creatorId)
The ID of the creator.
|
DocumentVersionMetadata |
withId(String id)
The ID of the version.
|
DocumentVersionMetadata |
withModifiedTimestamp(Date modifiedTimestamp)
The time stamp when the document was last uploaded.
|
DocumentVersionMetadata |
withName(String name)
The name of the version.
|
DocumentVersionMetadata |
withSignature(String signature)
The signature of the document.
|
DocumentVersionMetadata |
withSize(Long size)
The size of the document, in bytes.
|
DocumentVersionMetadata |
withSource(Map<String,String> source)
The source of the document.
|
DocumentVersionMetadata |
withStatus(DocumentStatusType status)
The status of the document.
|
DocumentVersionMetadata |
withStatus(String status)
The status of the document.
|
DocumentVersionMetadata |
withThumbnail(Map<String,String> thumbnail)
The thumbnail of the document.
|
public void setId(String id)
The ID of the version.
id
- The ID of the version.public String getId()
The ID of the version.
public DocumentVersionMetadata withId(String id)
The ID of the version.
id
- The ID of the version.public void setName(String name)
The name of the version.
name
- The name of the version.public String getName()
The name of the version.
public DocumentVersionMetadata withName(String name)
The name of the version.
name
- The name of the version.public void setContentType(String contentType)
The content type of the document.
contentType
- The content type of the document.public String getContentType()
The content type of the document.
public DocumentVersionMetadata withContentType(String contentType)
The content type of the document.
contentType
- The content type of the document.public void setSize(Long size)
The size of the document, in bytes.
size
- The size of the document, in bytes.public Long getSize()
The size of the document, in bytes.
public DocumentVersionMetadata withSize(Long size)
The size of the document, in bytes.
size
- The size of the document, in bytes.public void setSignature(String signature)
The signature of the document.
signature
- The signature of the document.public String getSignature()
The signature of the document.
public DocumentVersionMetadata withSignature(String signature)
The signature of the document.
signature
- The signature of the document.public void setStatus(String status)
The status of the document.
status
- The status of the document.DocumentStatusType
public String getStatus()
The status of the document.
DocumentStatusType
public DocumentVersionMetadata withStatus(String status)
The status of the document.
status
- The status of the document.DocumentStatusType
public void setStatus(DocumentStatusType status)
The status of the document.
status
- The status of the document.DocumentStatusType
public DocumentVersionMetadata withStatus(DocumentStatusType status)
The status of the document.
status
- The status of the document.DocumentStatusType
public void setCreatedTimestamp(Date createdTimestamp)
The time stamp when the document was first uploaded.
createdTimestamp
- The time stamp when the document was first uploaded.public Date getCreatedTimestamp()
The time stamp when the document was first uploaded.
public DocumentVersionMetadata withCreatedTimestamp(Date createdTimestamp)
The time stamp when the document was first uploaded.
createdTimestamp
- The time stamp when the document was first uploaded.public void setModifiedTimestamp(Date modifiedTimestamp)
The time stamp when the document was last uploaded.
modifiedTimestamp
- The time stamp when the document was last uploaded.public Date getModifiedTimestamp()
The time stamp when the document was last uploaded.
public DocumentVersionMetadata withModifiedTimestamp(Date modifiedTimestamp)
The time stamp when the document was last uploaded.
modifiedTimestamp
- The time stamp when the document was last uploaded.public void setContentCreatedTimestamp(Date contentCreatedTimestamp)
The time stamp when the content of the document was originally created.
contentCreatedTimestamp
- The time stamp when the content of the document was originally created.public Date getContentCreatedTimestamp()
The time stamp when the content of the document was originally created.
public DocumentVersionMetadata withContentCreatedTimestamp(Date contentCreatedTimestamp)
The time stamp when the content of the document was originally created.
contentCreatedTimestamp
- The time stamp when the content of the document was originally created.public void setContentModifiedTimestamp(Date contentModifiedTimestamp)
The time stamp when the content of the document was modified.
contentModifiedTimestamp
- The time stamp when the content of the document was modified.public Date getContentModifiedTimestamp()
The time stamp when the content of the document was modified.
public DocumentVersionMetadata withContentModifiedTimestamp(Date contentModifiedTimestamp)
The time stamp when the content of the document was modified.
contentModifiedTimestamp
- The time stamp when the content of the document was modified.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 DocumentVersionMetadata withCreatorId(String creatorId)
The ID of the creator.
creatorId
- The ID of the creator.public Map<String,String> getThumbnail()
The thumbnail of the document.
public void setThumbnail(Map<String,String> thumbnail)
The thumbnail of the document.
thumbnail
- The thumbnail of the document.public DocumentVersionMetadata withThumbnail(Map<String,String> thumbnail)
The thumbnail of the document.
thumbnail
- The thumbnail of the document.public DocumentVersionMetadata addThumbnailEntry(String key, String value)
public DocumentVersionMetadata clearThumbnailEntries()
public Map<String,String> getSource()
The source of the document.
public void setSource(Map<String,String> source)
The source of the document.
source
- The source of the document.public DocumentVersionMetadata withSource(Map<String,String> source)
The source of the document.
source
- The source of the document.public DocumentVersionMetadata addSourceEntry(String key, String value)
public DocumentVersionMetadata clearSourceEntries()
public String toString()
toString
in class Object
Object.toString()
public DocumentVersionMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.