StructuredPojo
, ToCopyableBuilder<DocumentMetadata.Builder,DocumentMetadata>
@Generated("software.amazon.awssdk:codegen") public class DocumentMetadata extends Object implements StructuredPojo, ToCopyableBuilder<DocumentMetadata.Builder,DocumentMetadata>
Describes the document.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DocumentMetadata.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DocumentMetadata.Builder |
builder() |
|
Date |
createdTimestamp() |
The time when the document was created.
|
String |
creatorId() |
The ID of the creator.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The ID of the document.
|
List<String> |
labels() |
List of labels on the document.
|
DocumentVersionMetadata |
latestVersionMetadata() |
The latest version of the document.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Date |
modifiedTimestamp() |
The time when the document was updated.
|
String |
parentFolderId() |
The ID of the parent folder.
|
String |
resourceState() |
The resource state.
|
static Class<? extends DocumentMetadata.Builder> |
serializableBuilderClass() |
|
DocumentMetadata.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 document.
public String creatorId()
The ID of the creator.
public String parentFolderId()
The ID of the parent folder.
public Date createdTimestamp()
The time when the document was created.
public Date modifiedTimestamp()
The time when the document was updated.
public DocumentVersionMetadata latestVersionMetadata()
The latest version of the document.
public String resourceState()
The resource state.
ResourceStateType
public List<String> labels()
List of labels on the document.
public DocumentMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DocumentMetadata.Builder,DocumentMetadata>
public static DocumentMetadata.Builder builder()
public static Class<? extends DocumentMetadata.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.