StructuredPojo
, ToCopyableBuilder<DocumentVersionMetadata.Builder,DocumentVersionMetadata>
@Generated("software.amazon.awssdk:codegen") public class DocumentVersionMetadata extends Object implements StructuredPojo, ToCopyableBuilder<DocumentVersionMetadata.Builder,DocumentVersionMetadata>
Describes a version of a document.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DocumentVersionMetadata.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DocumentVersionMetadata.Builder |
builder() |
|
Date |
contentCreatedTimestamp() |
The time stamp when the content of the document was originally created.
|
Date |
contentModifiedTimestamp() |
The time stamp when the content of the document was modified.
|
String |
contentType() |
The content type of the document.
|
Date |
createdTimestamp() |
The time stamp when the document was first uploaded.
|
String |
creatorId() |
The ID of the creator.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The ID of the version.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Date |
modifiedTimestamp() |
The time stamp when the document was last uploaded.
|
String |
name() |
The name of the version.
|
static Class<? extends DocumentVersionMetadata.Builder> |
serializableBuilderClass() |
|
String |
signature() |
The signature of the document.
|
Long |
size() |
The size of the document, in bytes.
|
Map<String,String> |
source() |
The source of the document.
|
String |
status() |
The status of the document.
|
Map<String,String> |
thumbnail() |
The thumbnail of the document.
|
DocumentVersionMetadata.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String id()
The ID of the version.
public String name()
The name of the version.
public String contentType()
The content type of the document.
public Long size()
The size of the document, in bytes.
public String signature()
The signature of the document.
public String status()
The status of the document.
DocumentStatusType
public Date createdTimestamp()
The time stamp when the document was first uploaded.
public Date modifiedTimestamp()
The time stamp when the document was last uploaded.
public Date contentCreatedTimestamp()
The time stamp when the content of the document was originally created.
public Date contentModifiedTimestamp()
The time stamp when the content of the document was modified.
public String creatorId()
The ID of the creator.
public Map<String,String> thumbnail()
The thumbnail of the document.
public Map<String,String> source()
The source of the document.
public DocumentVersionMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DocumentVersionMetadata.Builder,DocumentVersionMetadata>
public static DocumentVersionMetadata.Builder builder()
public static Class<? extends DocumentVersionMetadata.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.