@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InitiateDocumentVersionUploadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
InitiateDocumentVersionUploadRequest() |
Modifier and Type | Method and Description |
---|---|
InitiateDocumentVersionUploadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationToken()
Amazon WorkDocs authentication token.
|
Date |
getContentCreatedTimestamp()
The timestamp when the content of the document was originally created.
|
Date |
getContentModifiedTimestamp()
The timestamp when the content of the document was modified.
|
String |
getContentType()
The content type of the document.
|
Long |
getDocumentSizeInBytes()
The size of the document, in bytes.
|
String |
getId()
The ID of the document.
|
String |
getName()
The name of the document.
|
String |
getParentFolderId()
The ID of the parent folder.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setContentCreatedTimestamp(Date contentCreatedTimestamp)
The timestamp when the content of the document was originally created.
|
void |
setContentModifiedTimestamp(Date contentModifiedTimestamp)
The timestamp when the content of the document was modified.
|
void |
setContentType(String contentType)
The content type of the document.
|
void |
setDocumentSizeInBytes(Long documentSizeInBytes)
The size of the document, in bytes.
|
void |
setId(String id)
The ID of the document.
|
void |
setName(String name)
The name of the document.
|
void |
setParentFolderId(String parentFolderId)
The ID of the parent folder.
|
String |
toString()
Returns a string representation of this object.
|
InitiateDocumentVersionUploadRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
InitiateDocumentVersionUploadRequest |
withContentCreatedTimestamp(Date contentCreatedTimestamp)
The timestamp when the content of the document was originally created.
|
InitiateDocumentVersionUploadRequest |
withContentModifiedTimestamp(Date contentModifiedTimestamp)
The timestamp when the content of the document was modified.
|
InitiateDocumentVersionUploadRequest |
withContentType(String contentType)
The content type of the document.
|
InitiateDocumentVersionUploadRequest |
withDocumentSizeInBytes(Long documentSizeInBytes)
The size of the document, in bytes.
|
InitiateDocumentVersionUploadRequest |
withId(String id)
The ID of the document.
|
InitiateDocumentVersionUploadRequest |
withName(String name)
The name of the document.
|
InitiateDocumentVersionUploadRequest |
withParentFolderId(String parentFolderId)
The ID of the parent folder.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public InitiateDocumentVersionUploadRequest()
public void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
public InitiateDocumentVersionUploadRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public void setId(String id)
The ID of the document.
id
- The ID of the document.public String getId()
The ID of the document.
public InitiateDocumentVersionUploadRequest withId(String id)
The ID of the document.
id
- The ID of the document.public void setName(String name)
The name of the document.
name
- The name of the document.public String getName()
The name of the document.
public InitiateDocumentVersionUploadRequest withName(String name)
The name of the document.
name
- The name of the document.public void setContentCreatedTimestamp(Date contentCreatedTimestamp)
The timestamp when the content of the document was originally created.
contentCreatedTimestamp
- The timestamp when the content of the document was originally created.public Date getContentCreatedTimestamp()
The timestamp when the content of the document was originally created.
public InitiateDocumentVersionUploadRequest withContentCreatedTimestamp(Date contentCreatedTimestamp)
The timestamp when the content of the document was originally created.
contentCreatedTimestamp
- The timestamp when the content of the document was originally created.public void setContentModifiedTimestamp(Date contentModifiedTimestamp)
The timestamp when the content of the document was modified.
contentModifiedTimestamp
- The timestamp when the content of the document was modified.public Date getContentModifiedTimestamp()
The timestamp when the content of the document was modified.
public InitiateDocumentVersionUploadRequest withContentModifiedTimestamp(Date contentModifiedTimestamp)
The timestamp when the content of the document was modified.
contentModifiedTimestamp
- The timestamp when the content of the document was modified.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 InitiateDocumentVersionUploadRequest withContentType(String contentType)
The content type of the document.
contentType
- The content type of the document.public void setDocumentSizeInBytes(Long documentSizeInBytes)
The size of the document, in bytes.
documentSizeInBytes
- The size of the document, in bytes.public Long getDocumentSizeInBytes()
The size of the document, in bytes.
public InitiateDocumentVersionUploadRequest withDocumentSizeInBytes(Long documentSizeInBytes)
The size of the document, in bytes.
documentSizeInBytes
- The size of the document, in bytes.public void setParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId
- The ID of the parent folder.public String getParentFolderId()
The ID of the parent folder.
public InitiateDocumentVersionUploadRequest withParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId
- The ID of the parent folder.public String toString()
toString
in class Object
Object.toString()
public InitiateDocumentVersionUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()