Interface DocumentVersionMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentVersionMetadata.Builder,DocumentVersionMetadata>,SdkBuilder<DocumentVersionMetadata.Builder,DocumentVersionMetadata>,SdkPojo
- Enclosing class:
- DocumentVersionMetadata
public static interface DocumentVersionMetadata.Builder extends SdkPojo, CopyableBuilder<DocumentVersionMetadata.Builder,DocumentVersionMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentVersionMetadata.BuildercontentCreatedTimestamp(Instant contentCreatedTimestamp)The timestamp when the content of the document was originally created.DocumentVersionMetadata.BuildercontentModifiedTimestamp(Instant contentModifiedTimestamp)The timestamp when the content of the document was modified.DocumentVersionMetadata.BuildercontentType(String contentType)The content type of the document.DocumentVersionMetadata.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp when the document was first uploaded.DocumentVersionMetadata.BuildercreatorId(String creatorId)The ID of the creator.DocumentVersionMetadata.Builderid(String id)The ID of the version.DocumentVersionMetadata.BuildermodifiedTimestamp(Instant modifiedTimestamp)The timestamp when the document was last uploaded.DocumentVersionMetadata.Buildername(String name)The name of the version.DocumentVersionMetadata.Buildersignature(String signature)The signature of the document.DocumentVersionMetadata.Buildersize(Long size)The size of the document, in bytes.DocumentVersionMetadata.Buildersource(Map<DocumentSourceType,String> source)The source of the document.DocumentVersionMetadata.BuildersourceWithStrings(Map<String,String> source)The source of the document.DocumentVersionMetadata.Builderstatus(String status)The status of the document.DocumentVersionMetadata.Builderstatus(DocumentStatusType status)The status of the document.DocumentVersionMetadata.Builderthumbnail(Map<DocumentThumbnailType,String> thumbnail)The thumbnail of the document.DocumentVersionMetadata.BuilderthumbnailWithStrings(Map<String,String> thumbnail)The thumbnail of the document.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
DocumentVersionMetadata.Builder id(String id)
The ID of the version.
- Parameters:
id- The ID of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DocumentVersionMetadata.Builder name(String name)
The name of the version.
- Parameters:
name- The name of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
DocumentVersionMetadata.Builder contentType(String contentType)
The content type of the document.
- Parameters:
contentType- The content type of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
DocumentVersionMetadata.Builder size(Long size)
The size of the document, in bytes.
- Parameters:
size- The size of the document, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signature
DocumentVersionMetadata.Builder signature(String signature)
The signature of the document.
- Parameters:
signature- The signature of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DocumentVersionMetadata.Builder status(String status)
The status of the document.
- Parameters:
status- The status of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentStatusType,DocumentStatusType
-
status
DocumentVersionMetadata.Builder status(DocumentStatusType status)
The status of the document.
- Parameters:
status- The status of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentStatusType,DocumentStatusType
-
createdTimestamp
DocumentVersionMetadata.Builder createdTimestamp(Instant createdTimestamp)
The timestamp when the document was first uploaded.
- Parameters:
createdTimestamp- The timestamp when the document was first uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedTimestamp
DocumentVersionMetadata.Builder modifiedTimestamp(Instant modifiedTimestamp)
The timestamp when the document was last uploaded.
- Parameters:
modifiedTimestamp- The timestamp when the document was last uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentCreatedTimestamp
DocumentVersionMetadata.Builder contentCreatedTimestamp(Instant contentCreatedTimestamp)
The timestamp when the content of the document was originally created.
- Parameters:
contentCreatedTimestamp- The timestamp when the content of the document was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentModifiedTimestamp
DocumentVersionMetadata.Builder contentModifiedTimestamp(Instant contentModifiedTimestamp)
The timestamp when the content of the document was modified.
- Parameters:
contentModifiedTimestamp- The timestamp when the content of the document was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorId
DocumentVersionMetadata.Builder creatorId(String creatorId)
The ID of the creator.
- Parameters:
creatorId- The ID of the creator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thumbnailWithStrings
DocumentVersionMetadata.Builder thumbnailWithStrings(Map<String,String> thumbnail)
The thumbnail of the document.
- Parameters:
thumbnail- The thumbnail of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thumbnail
DocumentVersionMetadata.Builder thumbnail(Map<DocumentThumbnailType,String> thumbnail)
The thumbnail of the document.
- Parameters:
thumbnail- The thumbnail of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceWithStrings
DocumentVersionMetadata.Builder sourceWithStrings(Map<String,String> source)
The source of the document.
- Parameters:
source- The source of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
DocumentVersionMetadata.Builder source(Map<DocumentSourceType,String> source)
The source of the document.
- Parameters:
source- The source of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-