public class UploadDocumentStreamRequest extends Object
Constructor and Description |
---|
UploadDocumentStreamRequest()
Initializes
UploadDocumentStreamRequest object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAuthenticationToken()
Gets authentication token.
|
Date |
getContentCreatedTimestamp()
Gets content created timestamp.
|
Date |
getContentModifiedTimestamp()
Gets content modified timestamp.
|
String |
getContentType()
Gets content type.
|
String |
getDocumentId()
Gets document ID.
|
String |
getDocumentName()
Gets document name.
|
Long |
getDocumentSizeInBytes()
Gets document size in bytes.
|
String |
getParentFolderId()
Gets parent folder ID.
|
InputStream |
getStream()
Gets input stream of document.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Sets authentication token.
|
void |
setContentCreatedTimestamp(Date contentCreatedTimestamp)
Sets content created timestamp.
|
void |
setContentModifiedTimestamp(Date contentModifiedTimestamp)
Sets content modified timestamp.
|
void |
setContentType(String contentType)
Sets content type.
|
void |
setDocumentId(String documentId)
Sets document ID.
|
void |
setDocumentName(String documentName)
Sets document name.
|
void |
setDocumentSizeInBytes(Long documentSizeInBytes)
Sets document size in bytes.
|
void |
setParentFolderId(String parentFolderId)
Sets parent folder ID.
|
void |
setStream(InputStream stream)
Sets input stream of document.
|
String |
toString() |
UploadDocumentStreamRequest |
withAuthenticationToken(String authenticationToken)
Sets authentication token.
|
UploadDocumentStreamRequest |
withContentCreatedTimestamp(Date contentCreatedTimestamp)
Sets content created timestamp.
|
UploadDocumentStreamRequest |
withContentModifiedTimestamp(Date contentModifiedTimestamp)
Sets content modified timestamp.
|
UploadDocumentStreamRequest |
withContentType(String contentType)
Sets content type.
|
UploadDocumentStreamRequest |
withDocumentId(String documentId)
Sets document ID.
|
UploadDocumentStreamRequest |
withDocumentName(String documentName)
Sets document name.
|
UploadDocumentStreamRequest |
withDocumentSizeInBytes(Long documentSizeInBytes)
Sets document size in bytes.
|
UploadDocumentStreamRequest |
withParentFolderId(String parentFolderId)
Sets parent folder ID.
|
UploadDocumentStreamRequest |
withStream(InputStream stream)
Sets input stream of document.
|
public UploadDocumentStreamRequest()
UploadDocumentStreamRequest
object.public final String getParentFolderId()
public final void setParentFolderId(String parentFolderId)
parentFolderId
- Parent folder ID.public final UploadDocumentStreamRequest withParentFolderId(String parentFolderId)
parentFolderId
- Parent folder ID.public final String getDocumentName()
public final void setDocumentName(String documentName)
documentName
- Document name.public final UploadDocumentStreamRequest withDocumentName(String documentName)
documentName
- Document name.public final String getContentType()
public final void setContentType(String contentType)
contentType
- Content type.public final UploadDocumentStreamRequest withContentType(String contentType)
contentType
- Content type.public final Date getContentCreatedTimestamp()
public final void setContentCreatedTimestamp(Date contentCreatedTimestamp)
contentCreatedTimestamp
- Content created timestamp.public final UploadDocumentStreamRequest withContentCreatedTimestamp(Date contentCreatedTimestamp)
contentCreatedTimestamp
- Content created timestamp.public final Date getContentModifiedTimestamp()
public final void setContentModifiedTimestamp(Date contentModifiedTimestamp)
contentModifiedTimestamp
- Content modified timestamp.public final UploadDocumentStreamRequest withContentModifiedTimestamp(Date contentModifiedTimestamp)
contentModifiedTimestamp
- Content modified timestamp.public final Long getDocumentSizeInBytes()
public final void setDocumentSizeInBytes(Long documentSizeInBytes)
documentSizeInBytes
- Document size in bytes.public final UploadDocumentStreamRequest withDocumentSizeInBytes(Long documentSizeInBytes)
documentSizeInBytes
- Document size in bytes.public final String getDocumentId()
public final void setDocumentId(String documentId)
documentId
- Document ID.public final UploadDocumentStreamRequest withDocumentId(String documentId)
documentId
- Document ID.public final InputStream getStream()
public final void setStream(InputStream stream)
stream
- Input stream of document.public final UploadDocumentStreamRequest withStream(InputStream stream)
stream
- Input stream of document.public final String getAuthenticationToken()
public final void setAuthenticationToken(String authenticationToken)
authenticationToken
- Authentication token.public final UploadDocumentStreamRequest withAuthenticationToken(String authenticationToken)
authenticationToken
- Authentication token.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.